/** * @dataProvider providerForFail * @expectedException \Bluz\Validator\Exception\ValidatorException */ public function testInvalidInChecksShouldThrowInException($input, $haystack, $strict = false) { $v = new In($haystack, $strict); $this->assertFalse($v->validate($input)); $this->assertNotEmpty($v->__toString($input)); $this->assertFalse($v->assert($input)); }