ResponseBeanReader { public void register(Type responseType, BeanClassValidator validator) { Class<?> beanClass = ContextHelper.responseBeanClass(responseType); if (!context.containsKey(beanClass)) { validator.validate(beanClass); context.put(beanClass, new Context<>(beanClass)); } } ResponseBeanReader(); void register(Type responseType, BeanClassValidator validator); Object fromJSON(Type responseType, byte[] body);  }
@Test void register() { reader.register(TestBean.class, validator); }