eZ\Publish\Core\Repository\Tests\Service\Integration\ContentTypeBase::assertContentTypeGroupsEqual PHP Method

assertContentTypeGroupsEqual() protected method

Asserts that two given ContentTypeGroup objects contain the same group data.
protected assertContentTypeGroupsEqual ( array $data )
$data array
    protected function assertContentTypeGroupsEqual(array $data)
    {
        $storedGroup = $data['expected'];
        $loadedGroup = $data['actual'];
        $notImplemented = array('mainLanguageCode', 'names', 'descriptions');
        $this->assertSameClassPropertiesCorrect(array('id', 'identifier', 'creationDate', 'modificationDate', 'creatorId', 'modifierId', 'mainLanguageCode', 'names', 'descriptions'), $storedGroup, $loadedGroup, $notImplemented);
    }
ContentTypeBase