function test_noMatches() { $collection = Braintree_Customer::search(array(Braintree_CustomerSearch::company()->is('badname'))); $this->assertEquals(0, $collection->maximumCount()); }