예제 #1
0
 public function testCustomFormatter()
 {
     $response = $this->controller->custom('hi');
     $response = $this->controller->buildResponse($response, 'json');
     $this->assertEquals(array(2), $response->getData());
 }