public function testSetAllowedIps()
{
$a = new Auth(new File(__DIR__ . '/../tmp/access.txt'));
$a->setAllowedIps('123.123.123.123');
$a->setAllowedIps(array('123.123.123.123', '124.124.124.124'));
$this->assertEquals(array('123.123.123.123', '124.124.124.124'), $a->getValidator('allowedIps')->getValue());
$a->setAllowedIps();
$this->assertEquals(null, $a->getValidator('allowedIps'));
}