You are here

function Braintree_AddressTest::testFindErrorsOnWhitespaceOnlyId in Commerce Braintree 7

File

braintree_php/tests/unit/AddressTest.php, line 63

Class

Braintree_AddressTest

Code

function testFindErrorsOnWhitespaceOnlyId() {
  $this
    ->setExpectedException('InvalidArgumentException');
  Braintree_Address::find('123', '  ');
}