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