Example #1
0
 public function testResponseObjectConstructionWithCustomResponse()
 {
     $representation = new Json();
     $symResponse = \Symfony\Component\HttpFoundation\Response::create();
     $response = new Response($representation, $symResponse);
     $this->assertEquals($representation, $response->getRepresentation());
 }