eZ\Publish\Core\REST\Common\Tests\Input\DispatcherTest::testParseMissingFormatHandler PHP Method

testParseMissingFormatHandler() public method

    public function testParseMissingFormatHandler()
    {
        $message = new Common\Message(array('Content-Type' => 'text/html+unknown'));
        $parsingDispatcher = $this->getMock('\\eZ\\Publish\\Core\\REST\\Common\\Input\\ParsingDispatcher');
        $dispatcher = new Common\Input\Dispatcher($parsingDispatcher);
        $dispatcher->parse($message);
    }