You are here

function Braintree_CustomerTest::testFind_throwsExceptionIfNotFound in Commerce Braintree 7

File

braintree_php/tests/integration/CustomerTest.php, line 367

Class

Braintree_CustomerTest

Code

function testFind_throwsExceptionIfNotFound() {
  $this
    ->setExpectedException('Braintree_Exception_NotFound');
  Braintree_Customer::find("does-not-exist");
}