public function testApiDisallowOrigin_UnblocksAddress()
{
$ip = '50.50.50.50';
$server = $this->createServer();
$router = $this->createRouter($server);
$router->allowOrigin($ip);
$this->assertTrue(array_key_exists($ip, $this->getProtectedProperty($router, 'allowedOrigins')));
$router->disallowOrigin($ip);
$this->assertFalse(array_key_exists($ip, $this->getProtectedProperty($router, 'allowedOrigins')));
}