}
@Test
public void shouldDeserializeFromGenericTypeTwoParams() {
InputStream stream = asStream("{'entity':{'name':'Brutus','age':7,'birthday':'2013-07-23T17:14:14-03:00'}, 'param': 'test', 'over': 'value'}");
BeanClass resourceClass = new DefaultBeanClass(DogGenericController.class);
Method method = new Mirror().on(DogGenericController.class).reflect().method("anotherMethod").withAnyArgs();
ControllerMethod resource = new DefaultControllerMethod(resourceClass, method);
Object[] deserialized = deserializer.deserialize(stream, resource);