/** * @expectedException Melody\Validation\Exceptions\InvalidParameterException */ public function testInvalidParameterShouldRaiseAnException() { v::instance(new \stdClass()); }