public function testParseMissingContentType() { $message = new Common\Message(); $parsingDispatcher = $this->getMock('\\eZ\\Publish\\Core\\REST\\Common\\Input\\ParsingDispatcher'); $dispatcher = new Common\Input\Dispatcher($parsingDispatcher); $dispatcher->parse($message); }