예제 #1
0
파일: FlightTest.php 프로젝트: NDStudios/mc
 function testDefaultComponents()
 {
     $request = Flight::request();
     $response = Flight::response();
     $router = Flight::router();
     $view = Flight::view();
     $this->assertEquals('flight\\net\\Request', get_class($request));
     $this->assertEquals('flight\\net\\Response', get_class($response));
     $this->assertEquals('flight\\net\\Router', get_class($router));
     $this->assertEquals('flight\\template\\View', get_class($view));
 }