public function test_throwsIfNoOperatorNodeGiven() { $this->setExpectedException('InvalidArgumentException', 'Operator must be provided'); Braintree\Customer::search(array(Braintree\CustomerSearch::creditCardExpirationDate())); }