/** * Tests the range failure case * * @expectedException InvalidArgumentException * @return void */ public function testRangeFailure() { $validator = new Validator(); $validator->range('username', [1]); }