public void shouldDeserializeADogWithCalendarAsISO8601Attribute() {
InputStream stream = new ByteArrayInputStream(
"{'dog':{'name':'Brutus','age':7,'birthday':'2013-07-23T17:14:14.000-0300'}}".getBytes());
when(provider.parameterNamesFor(bark.getMethod())).thenReturn(new String[] { "dog" });
List<JsonDeserializer> deserializers = new ArrayList<JsonDeserializer>();
deserializers.add(new br.com.caelum.vraptor.serialization.iso8601.gson.CalendarISO8601Deserializer(new ISO8601Util()));
deserializer = new GsonDeserialization(provider, new DefaultJsonDeserializers(deserializers), request);
Object[] deserialized = deserializer.deserialize(stream, bark);