/** * @expectedException Melody\Validation\Exceptions\InvalidInputException */ public function testInvalidInputShouldRaiseAnException() { v::max(5)->validate(new \stdClass()); }