/** * @dataProvider providerForFail * @expectedException \Bluz\Validator\Exception\ValidatorException */ public function testInvalidVersionShouldThrowException($input) { $rule = new Version(); $this->assertFalse($rule->validate($input)); $this->assertFalse($rule->assert($input)); }