function Braintree_TransactionAdvancedSearchTest::test_multipleValueNode_creditCardCustomerLocation_allowedValues in Commerce Braintree 7
File
- braintree_php/
tests/ integration/ TransactionAdvancedSearchTest.php, line 353
Class
Code
function test_multipleValueNode_creditCardCustomerLocation_allowedValues() {
$this
->setExpectedException('InvalidArgumentException', 'Invalid argument(s) for credit_card_customer_location: noSuchLocation');
$collection = Braintree_Transaction::search(array(
Braintree_TransactionSearch::creditCardCustomerLocation()
->is('noSuchLocation'),
));
}