/** * @return MultipleValueNode */ public function status() { return TransactionSearch::status(); }
public function test_multipleValueNode_status_allowedValues() { $this->setExpectedException('InvalidArgumentException', 'Invalid argument(s) for status: noSuchStatus'); $collection = Braintree\Transaction::search([Braintree\TransactionSearch::status()->is('noSuchStatus')]); }