@Test
public void withFieldsOnly() throws Exception {

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

	final List<FileItem> elements = new ArrayList<FileItem>();
	elements.add(new MockFileItem("foo", "blah"));
	elements.add(new MockFileItem("bar", "blah blah"));

	when(request.getCharacterEncoding()).thenReturn("utf-8");
	when(request.getContentType()).thenReturn("multipart/form-data");
	when(request.getMethod()).thenReturn("POST");
	when(mockUpload.parseRequest(request)).thenReturn(elements);

	interceptor.intercept(stack, method, instance);

	verify(parameters).setParameter("foo", "blah");
	verify(parameters).setParameter("bar", "blah blah");
}