function Braintree_CustomerAdvancedSearchTest::test_noMatches in Commerce Braintree 7
File
- braintree_php/
tests/ integration/ CustomerAdvancedSearchTest.php, line 6
Class
Code
function test_noMatches() {
$collection = Braintree_Customer::search(array(
Braintree_CustomerSearch::company()
->is('badname'),
));
$this
->assertEquals(0, $collection
->maximumCount());
}