@Test
public void willSetMethodParametersWithDeserializationAndContinueStackAfterDeserialization() {

	when(request.getContentType()).thenReturn("application/xml");
	final Deserializer deserializer = mock(Deserializer.class);
	methodInfo.setParameters(new Object[2]);
	when(deserializer.deserialize(null, consumeXml)).thenReturn(new Object[] {"abc", "def"});
	when(deserializers.deserializerFor("application/xml", container)).thenReturn(deserializer);
	interceptor.intercept(stack, consumeXml, null);
	assertEquals(methodInfo.getParameters()[0], "abc");
	assertEquals(methodInfo.getParameters()[1], "def");
	verify(stack).next(consumeXml, null);
}