### Question:
BuildHttpMessageConverter implements HttpMessageConverter<Build> { @Override public boolean canRead(Class<?> clazz) { return Build.class.equals(clazz); }  @Override boolean canRead(Class<?> clazz); @Override boolean canWrite(Class<?> clazz); @Override Build read(Class<? extends Build> clazz, HttpInputMessage inputMessage); @Override void write(Build t, String contentType, HttpOutputMessage outputMessage);  }### Answer:
@Test public void canRead() throws Exception { assertTrue(converter.canRead(Build.class)); assertFalse(converter.canRead(Build[].class)); assertFalse(converter.canRead(Object.class)); }