/** * @expectedException Melody\Validation\Exceptions\InvalidInputException */ public function testInvalidInputShouldRaiseAnException() { v::range(5, 10)->validate("invalid argument"); }