コード例 #1
0
ファイル: ControllerTest.php プロジェクト: Romua1d/core
 public function testCustomFormatter()
 {
     $response = $this->controller->custom('hi');
     $response = $this->controller->buildResponse($response, 'json');
     $this->assertEquals(array(2), $response->getData());
 }