public function testInvalidRuleClassShouldThrowComponentException() { $this->setExpectedException(ComponentException::class); Validator::iDoNotExistSoIShouldThrowException(); }
public function testInvalidRuleClassShouldThrowComponentException() { $this->setExpectedException('Respect\\Validation\\Exceptions\\ComponentException'); Validator::iDoNotExistSoIShouldThrowException(); }