### Question:
ContentManager { public static void removeCodec(String mediaType) { CODECS.remove(mediaType); OFFERED.remove(mediaType); } private  ContentManager(); static void addCodec(ContentCodec codec); static void removeCodec(String mediaType); static Set<String> getOfferedMediaTypes(); static T contentToValue(Content content,
                                       DataSchema<T> schema); static Content valueToContent(Object value); static Content valueToContent(Object value,
                                         String contentType); static boolean isSupportedMediaType(String contentType); static Set<String> getSupportedMediaTypes(); static final String DEFAULT; }### Answer:
@Test public void removeCodec() { try { assertTrue(ContentManager.isSupportedMediaType("text/plain")); ContentManager.removeCodec("text/plain"); assertFalse(ContentManager.isSupportedMediaType("text/plain")); } finally { ContentManager.addCodec(new TextCodec()); } }