You are here

function Braintree_CreditCardTest::testFind_throwsUsefulErrorMessagesWhenEmpty in Commerce Braintree 7

File

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

Class

Braintree_CreditCardTest

Code

function testFind_throwsUsefulErrorMessagesWhenEmpty() {
  $this
    ->setExpectedException('InvalidArgumentException', 'expected credit card id to be set');
  Braintree_CreditCard::find('');
}