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