public function testCreateResponse() { $rawData = 'raw data for testing'; $response = $this->request->createResponse($rawData, $this->serializer); $this->assertInstanceOf(self::RESPONSE_CLASS, $response); }