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