public function testNewContentTypeCreateStruct() { /* BEGIN: Use Case */ $contentTypeService = $this->repository->getContentTypeService(); $contentTypeCreateStruct = $contentTypeService->newContentTypeCreateStruct('new-type'); /* END: Use Case */ $this->assertInstanceOf('eZ\\Publish\\API\\Repository\\Values\\ContentType\\ContentTypeCreateStruct', $contentTypeCreateStruct); return $contentTypeCreateStruct; }