public function testSetAllowedSubnets()
{
$a = new Auth(new File(__DIR__ . '/../tmp/access.txt'));
$a->setAllowedSubnets('123.123.123');
$a->setAllowedSubnets(array('123.123.123', '124.124.124'));
$this->assertEquals(array('123.123.123', '124.124.124'), $a->getValidator('allowedSubnets')->getValue());
$a->setAllowedSubnets();
$this->assertEquals(null, $a->getValidator('allowedSubnets'));
}