### Question:
BodyParserJson implements BodyParser { public List<String> getContentTypes() { return ImmutableList.of(MimeTypes.JSON); }  T invoke(Context context, Class<T> classOfT); T invoke(Context context, Class<T> classOfT, Type genericType); @Override T invoke(byte[] bytes, Class<T> classOfT); List<String> getContentTypes();  }### Answer:
@Test public void testMimeTypes() { assertThat(parser.getContentTypes()) .hasSize(1).contains(MimeTypes.JSON); }