request = mock(HttpServletRequest.class);
when(localization.getLocale()).thenReturn(new Locale("pt", "BR"));
List<JsonDeserializer> deserializers = new ArrayList<JsonDeserializer>();
CalendarDeserializer calendarDeserializer = new CalendarDeserializer(localization);
deserializers.add(calendarDeserializer);
deserializer = new GsonDeserialization(provider, new DefaultJsonDeserializers(deserializers), request);
DefaultResourceClass resourceClass = new DefaultResourceClass(DogController.class);
woof = new DefaultResourceMethod(resourceClass, DogController.class.getDeclaredMethod("woof"));