public function testMagicConstructorCanCreateCallbackRoutes()
{
$router = new Router();
$callbackRoute = $router->get('/', $target = function () {
});
$concreteCallbackRoute = $router->callbackRoute('GET', '/', $target);
$this->assertInstanceOf('Respect\\Rest\\Routes\\Callback', $callbackRoute, 'Returned result from a magic constructor in this case should return a Routes\\Callback');
$this->assertEmpty($callbackRoute->arguments, 'When there are no arguments the Routes\\Callback should have none as well');
$this->assertEquals($callbackRoute, $concreteCallbackRoute, 'The magic and concrete instances of Routes\\Callback should be equivalent');
}