deserializer = new XStreamXMLDeserializer(provider, cleanInstance(new CalendarConverter()));
BeanClass controllerClass = new DefaultBeanClass(DogController.class);
BeanClass personControllerClass = new DefaultBeanClass(PersonController.class);
woof = new DefaultControllerMethod(controllerClass, DogController.class.getDeclaredMethod("woof"));
bark = new DefaultControllerMethod(controllerClass, DogController.class.getDeclaredMethod("bark", Dog.class));
jump = new DefaultControllerMethod(controllerClass, DogController.class.getDeclaredMethod("jump", Dog.class, Integer.class));
dropDead = new DefaultControllerMethod(controllerClass, DogController.class.getDeclaredMethod("dropDead", Integer.class, Dog.class));
annotated = new DefaultControllerMethod(controllerClass, DogController.class.getDeclaredMethod("annotated", DogWithAnnotations.class));
walk = new DefaultControllerMethod(personControllerClass, PersonController.class.getDeclaredMethod("walk", Person.class));
}