/** * @dataProvider providerForIn */ public function testSuccessInValidatorCases($input, $options = null) { $v = new In($options); $this->assertTrue($v->__invoke($input)); $this->assertTrue($v->check($input)); $this->assertTrue($v->assert($input)); }
/** * @dataProvider providerForIn * */ public function test_success_in_validator_cases($input, $options = null) { $v = new In($options); $this->assertTrue($v->validate($input)); $this->assertTrue($v->check($input)); $this->assertTrue($v->assert($input)); }