@Test
public void shouldBeAbleToDeserializeADogWhenMethodHasMoreThanOneArgument() throws Exception {

	InputStream stream = new ByteArrayInputStream("<dog><name>Brutus</name><age>7</age></dog>".getBytes());
	when(provider.parameterNamesFor(jump.getMethod())).thenReturn(new String[] {"dog", "times"});
	Object[] deserialized = deserializer.deserialize(stream, jump);
	assertThat(deserialized.length, is(2));
	assertThat(deserialized[0], is(instanceOf(Dog.class)));
	Dog dog = (Dog) deserialized[0];
	assertThat(dog.name, is("Brutus"));
	assertThat(dog.age, is(7));
}