You are here

function Braintree_CreditCardTest::testFind_throwsIfCannotBeFound in Commerce Braintree 7

File

braintree_php/tests/integration/CreditCardTest.php, line 621

Class

Braintree_CreditCardTest

Code

function testFind_throwsIfCannotBeFound() {
  $this
    ->setExpectedException('Braintree_Exception_NotFound');
  Braintree_CreditCard::find('invalid-token');
}