FastJsonSerialization implements Serialization { @Override public String getContentType() { return "text/json"; }  @Override byte getContentTypeId(); @Override String getContentType(); @Override ObjectOutput serialize(URL url, OutputStream output); @Override ObjectInput deserialize(URL url, InputStream input);  }
@Test public void testContentType() { assertThat(fastJsonSerialization.getContentType(), is("text/json")); }