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