eZ\Publish\Core\Helper\Tests\FieldHelperTest::setUp PHP Method

setUp() protected method

protected setUp ( )
    protected function setUp()
    {
        parent::setUp();
        $this->fieldTypeServiceMock = $this->getMock('eZ\\Publish\\API\\Repository\\FieldTypeService');
        $this->contentTypeServiceMock = $this->getMock('eZ\\Publish\\API\\Repository\\ContentTypeService');
        $this->translationHelper = $this->getMockBuilder('eZ\\Publish\\Core\\Helper\\TranslationHelper')->disableOriginalConstructor()->getMock();
        $this->fieldHelper = new FieldHelper($this->translationHelper, $this->contentTypeServiceMock, $this->fieldTypeServiceMock);
    }