/** * @dataProvider providerForFail * @expectedException \Bluz\Validator\Exception\ValidatorException */ public function testValuesOutBoundsShouldRaiseException($min, $max, $inclusive, $input) { $validator = new Between($min, $max, $inclusive); $this->assertFalse($validator->validate($input)); $this->assertNotEmpty($validator->__toString()); $this->assertFalse($validator->assert($input)); }