@Test
public void shouldAcceptMultipart() {

	interceptor = new CommonsUploadMultipartInterceptor(request, parameters, config, validator, null);

	when(request.getContentType()).thenReturn("multipart/form-data");
	when(request.getMethod()).thenReturn("POST");

	assertThat(interceptor.accepts(method), equalTo(true));
}