eZ\Bundle\EzPublishRestBundle\Tests\EventListener\ResponseListenerTest::getVisitorDispatcherMock PHP Method

getVisitorDispatcherMock() public method

public getVisitorDispatcherMock ( ) : eZ\Publish\Core\REST\Server\View\AcceptHeaderVisitorDispatcher | PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject
return eZ\Publish\Core\REST\Server\View\AcceptHeaderVisitorDispatcher | PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject
    public function getVisitorDispatcherMock()
    {
        if (!isset($this->visitorDispatcherMock)) {
            $this->visitorDispatcherMock = $this->getMock('eZ\\Publish\\Core\\REST\\Server\\View\\AcceptHeaderVisitorDispatcher');
        }
        return $this->visitorDispatcherMock;
    }