public function testGetArguments() { $app = new Application(); $resolver = new ControllerResolver($app); $controller = function (Application $app) { }; $args = $resolver->getArguments(Request::create('/'), $controller); $this->assertSame($app, $args[0]); }