setExpectedException('InvalidArgumentException'); Braintree\Subscription::find(''); } public function testErrorsOnFindWithWhitespaceArgument() { $this->setExpectedException('InvalidArgumentException'); Braintree\Subscription::find('\t'); } }