getParentResponse() public method

Return the parent response or NULL if none exists.
public getParentResponse ( ) : Response
return Response the parent response, or NULL if none
 /**
  * @test
  */
 public function getParentResponseReturnsResponseSetInConstructor()
 {
     $parentResponse = new Response();
     $response = new Response($parentResponse);
     $this->assertSame($parentResponse, $response->getParentResponse());
 }