public function testOnPostCallWithRendermodeWithTextHtmlHeader()
 {
     $content = new MockContent();
     $content->mockedDefineParam('rendermode', ['type' => 'select', 'value' => []]);
     $listener = new ClassContentListener();
     $data = json_encode(self::$contentManager->jsonEncode($content, AbstractContent::JSON_CONCISE_FORMAT));
     $request = Request::create('test', "GET");
     $response = Response::create($data, 200, ['CONTENT_TYPE' => 'text/html']);
     $listener->onPostCall($this->createPostResponseEvent($response, $request));
     $responseContent = json_decode($response->getContent());
     $this->assertFalse(isset($responseContent->parameters->rendermode->options));
 }