eZ\Publish\Core\Persistence\Legacy\Tests\Content\ContentHandlerTest::getTreeHandlerMock PHP Метод

getTreeHandlerMock() защищенный Метод

Returns a TreeHandler mock.
protected getTreeHandlerMock ( ) : PHPUnit_Framework_MockObject_MockObject | TreeHandler
Результат PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler
    protected function getTreeHandlerMock()
    {
        if (!isset($this->treeHandlerMock)) {
            $this->treeHandlerMock = $this->getMock('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\TreeHandler', array(), array(), '', false);
        }
        return $this->treeHandlerMock;
    }