ResponseBeanWriter { public boolean contains(Class<?> beanClass) { return context.containsKey(beanClass); } ResponseBeanWriter(); void register(Type responseType, BeanClassValidator validator); boolean contains(Class<?> beanClass); byte[] toJSON(Object bean);  }
@Test void builtinClasses() { assertThat(writer.contains(AJAXErrorResponse.class)).isTrue(); assertThat(writer.contains(ErrorResponse.class)).isTrue(); }