### Question:
DelegatingContentHandlerImpl implements FileContentReferenceHandler { @Override public ContentReference createContentReference(String fileName, String mediaType) throws ContentIOException { throw new UnsupportedOperationException( "createContentReference not supported for " + this.getClass().getSimpleName()); }  void setDelegates(List<ContentReferenceHandler> delegates); @Override boolean isContentReferenceSupported(ContentReference contentReference); @Override boolean isContentReferenceExists(ContentReference contentReference); @Override ContentReference createContentReference(String fileName, String mediaType); @Override InputStream getInputStream(ContentReference contentReference, boolean waitForAvailability); @Override long putInputStream(InputStream sourceInputStream, ContentReference targetContentReference); @Override long putFile(File sourceFile, ContentReference targetContentReference); @Override void delete(ContentReference contentReference); @Override boolean isAvailable(); @Override File getFile(ContentReference contentReference, boolean waitForTransfer);  }### Answer:
@Test public void testCreateContentReference() { thrown.expect(UnsupportedOperationException.class); delegatingHandler.createContentReference("testCreate.txt", "text/plain"); }