@Test
public void testBeforeBodyWrite() {

	final Object body = new Object();
	final MethodParameter returnType = Mockito.mock(MethodParameter.class);
	final MediaType selectedContentType = MediaType.ALL; 
	final Class<? extends HttpMessageConverter<?>> selectedConverterType = null;
	final ServerHttpRequest req = new ServletServerHttpRequest(new MockHttpServletRequest());
	final ServerHttpResponse res = new ServletServerHttpResponse(new MockHttpServletResponse());
	
	final MultiExecuteOutput expected = new MultiExecuteOutput(sessionid);
	
	Mockito.when(this.interceptor.handleResponse(body)).thenReturn(expected);
	final Object actual = this.testee.beforeBodyWrite(body, returnType, selectedContentType, selectedConverterType, req, res);
	Mockito.verify(this.interceptor, Mockito.times(1)).handleResponse(body);
	
	Assert.assertEquals(expected, actual);
}