예제 #1
0
 public function testRouterMayBeInjected()
 {
     $app = new Application();
     $router = new Router\SimpleRouteStack();
     $app->setRouter($router);
     $this->assertSame($router, $app->getRouter());
 }