### Question:
BodyParserForm implements BodyParser { public List<String> getContentTypes() { return ImmutableList.of(MimeTypes.FORM, MimeTypes.MULTIPART); }  @Override T invoke(Context context, Class<T> classOfT, Type genericType); @Override T invoke(Context context, Class<T> classOfT); @Override T invoke(byte[] bytes, Class<T> classOfT); List<String> getContentTypes();  }### Answer:
@Test public void testSupportedTypes() { assertThat(parser.getContentTypes()).containsExactly(MimeTypes.FORM, MimeTypes.MULTIPART); }