You are here

function Braintree_AddressTest::testFind_whenNotFound in Commerce Braintree 7

File

braintree_php/tests/integration/AddressTest.php, line 141

Class

Braintree_AddressTest

Code

function testFind_whenNotFound() {
  $customer = Braintree_Customer::createNoValidate();
  $this
    ->setExpectedException('Braintree_Exception_NotFound');
  Braintree_Address::find($customer->id, 'does-not-exist');
}