eZ\Publish\Core\Search\Legacy\Tests\Content\HandlerContentSortTest::getFieldRegistry PHP Method

getFieldRegistry() protected method

Returns a field registry mock object.
protected getFieldRegistry ( ) : ConverterRegistry
return eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\ConverterRegistry
    protected function getFieldRegistry()
    {
        if (!isset($this->fieldRegistry)) {
            $this->fieldRegistry = $this->getMock('\\eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\FieldValue\\ConverterRegistry', array(), array(array()));
        }
        return $this->fieldRegistry;
    }