eZ\Publish\Core\Persistence\Legacy\Tests\Content\ObjectState\MapperTest::getObjectStateGroupFixture PHP Method

getObjectStateGroupFixture() protected method

Returns an object state group fixture.
protected getObjectStateGroupFixture ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState\Group
return eZ\Publish\SPI\Persistence\Content\ObjectState\Group
    protected function getObjectStateGroupFixture()
    {
        $group = new Group();
        $group->identifier = 'ez_lock';
        $group->defaultLanguage = 'eng-US';
        $group->languageCodes = array('eng-US');
        $group->name = array('eng-US' => 'Lock');
        $group->description = array('eng-US' => '');
        return $group;
    }