function Braintree_TransactionAdvancedSearchTest::testNoMatches in Commerce Braintree 7
File
- braintree_php/
tests/ integration/ TransactionAdvancedSearchTest.php, line 6
Class
Code
function testNoMatches() {
$collection = Braintree_Transaction::search(array(
Braintree_TransactionSearch::billingFirstName()
->is('thisnameisnotreal'),
));
$this
->assertEquals(0, $collection
->maximumCount());
}