@Test
public void shouldBeAbleToDeserializeACatWhenMethodHasMoreThanOneArgument() throws Exception {

	InputStream stream = new ByteArrayInputStream("{\"cat\":{\"name\": \"Zulu\", \"age\": 1}}".getBytes());
	when(provider.parameterNamesFor(jump.getMethod())).thenReturn(new String[] {"cat", "times"});
	Object[] deserialized = deserializer.deserialize(stream, jump);
	assertThat(deserialized.length, is(2));
	assertThat(deserialized[0], is(instanceOf(Cat.class)));
	Cat cat = (Cat) deserialized[0];
	assertThat(cat.name, is("Zulu"));
	assertThat(cat.age, is(1));
}