public function testLoadContentTypeByRemoteId() { $storedContentType = $this->createPublishedContentType(); /* BEGIN: Use Case */ $contentTypeService = $this->repository->getContentTypeService(); $loadedContentType = $contentTypeService->loadContentTypeByRemoteId($storedContentType->remoteId); /* END: Use Case */ $this->assertInstanceOf('eZ\\Publish\\API\\Repository\\Values\\ContentType\\ContentType', $loadedContentType); return array('expected' => $storedContentType, 'actual' => $loadedContentType); }