You are here

function Braintree_CreditCardTest::testErrorsOnFindWithWhitespaceArgument in Commerce Braintree 7

File

braintree_php/tests/unit/CreditCardTest.php, line 98

Class

Braintree_CreditCardTest

Code

function testErrorsOnFindWithWhitespaceArgument() {
  $this
    ->setExpectedException('InvalidArgumentException');
  Braintree_CreditCard::find('  ');
}