eZ\Publish\Core\REST\Common\Tests\Output\ValueObjectVisitorDispatcherTest::getValueObjectDispatcher PHP Method

getValueObjectDispatcher() private method

private getValueObjectDispatcher ( ) : ValueObjectVisitorDispatcher
return eZ\Publish\Core\REST\Common\Output\ValueObjectVisitorDispatcher
    private function getValueObjectDispatcher()
    {
        $dispatcher = new Common\Output\ValueObjectVisitorDispatcher();
        $dispatcher->setOutputGenerator($this->getOutputGeneratorMock());
        $dispatcher->setOutputVisitor($this->getOutputVisitorMock());
        return $dispatcher;
    }