public function testCreateContentTypeDraftValues(array $data) { /** @var $publishedType \eZ\Publish\Core\Repository\Values\ContentType\ContentType */ $publishedType = $data['expected']; /** @var $draftType \eZ\Publish\Core\Repository\Values\ContentType\ContentTypeDraft */ $draftType = $data['actual']; $typeProperties = array('skip' => array('id', 'status', 'modificationDate')); $this->compareContentTypes($data, $typeProperties); $this->assertEquals($publishedType->id, $draftType->id); $this->assertEquals($draftType->status, ContentType::STATUS_DRAFT); }