def test_parse_payments_account_path():
    expected = {
        "customer": "oyster",
        "payments_account": "nudibranch",
    }
    path = PaymentsAccountServiceClient.payments_account_path(**expected)

    # Check that the path construction is reversible.
    actual = PaymentsAccountServiceClient.parse_payments_account_path(path)
    assert expected == actual
def test_payments_account_path():
    customer = "whelk"
    payments_account = "octopus"
    expected = "customers/{customer}/paymentsAccounts/{payments_account}".format(customer=customer, payments_account=payments_account, )
    actual = PaymentsAccountServiceClient.payments_account_path(customer, payments_account)
    assert expected == actual