def test_parse_billing_setup_path():
    expected = {
        "customer_id": "whelk",
        "billing_setup_id": "octopus",
    }
    path = BillingSetupServiceClient.billing_setup_path(**expected)

    # Check that the path construction is reversible.
    actual = BillingSetupServiceClient.parse_billing_setup_path(path)
    assert expected == actual
def test_billing_setup_path():
    customer_id = "squid"
    billing_setup_id = "clam"
    expected = "customers/{customer_id}/billingSetups/{billing_setup_id}".format(
        customer_id=customer_id,
        billing_setup_id=billing_setup_id,
    )
    actual = BillingSetupServiceClient.billing_setup_path(
        customer_id, billing_setup_id)
    assert expected == actual