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

testCreateObjectStateGroupFromInputStruct() public method

    public function testCreateObjectStateGroupFromInputStruct()
    {
        $mapper = $this->getMapper();
        $inputStruct = $this->getObjectStateGroupInputStructFixture();
        $result = $mapper->createObjectStateGroupFromInputStruct($inputStruct);
        $this->assertStructsEqual($this->getObjectStateGroupFixture(), $result, array('identifier', 'defaultLanguage', 'languageCodes', 'name', 'description'));
    }