public testNewContentTypeCreateStructValues ( eZ\Publish\API\Repository\Values\ContentType\ContentTypeCreateStruct $contentTypeCreateStruct ) | ||
$contentTypeCreateStruct | eZ\Publish\API\Repository\Values\ContentType\ContentTypeCreateStruct |
public function testNewContentTypeCreateStructValues($contentTypeCreateStruct)
{
$this->assertPropertiesCorrect(array('identifier' => 'new-type', 'mainLanguageCode' => null, 'remoteId' => null, 'urlAliasSchema' => null, 'nameSchema' => null, 'isContainer' => false, 'defaultSortField' => Location::SORT_FIELD_PUBLISHED, 'defaultSortOrder' => Location::SORT_ORDER_DESC, 'defaultAlwaysAvailable' => true, 'names' => null, 'descriptions' => null, 'creatorId' => null, 'creationDate' => null, 'fieldDefinitions' => array()), $contentTypeCreateStruct);
}