public function testCopyContentType($sourceContentTypeHref) { $response = $this->sendHttpRequest($this->createHttpRequest('COPY', $sourceContentTypeHref, '', 'ContentType+json')); self::assertHttpResponseCodeEquals($response, 201); self::assertHttpResponseHasHeader($response, 'Location'); $href = $response->getHeader('Location'); $this->addCreatedElement($href); return $href; // @todo test identifier (copy_of_<originalBaseIdentifier>_<newTypeId>) }