### Question:
ContentManager { public static Content valueToContent(Object value) throws ContentCodecException { return valueToContent(value, null); } 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 valueToContentWithUnsupportedFormat() throws ContentCodecException, IOException, ClassNotFoundException { Content content = ContentManager.valueToContent(42, "none/none"); ByteArrayInputStream bis = new ByteArrayInputStream(content.getBody()); ObjectInputStream ois = new ObjectInputStream(bis); assertEquals(42, ois.readObject()); }