*
* @throws Exception
*/
public void testAddPathInfo() throws Exception
{
FileItemFactory factory = new DiskFileItemFactory(10240, null);
assertEquals("keySet() is not empty!", 0, parameterParser.keySet().size());
FileItem test = factory.createItem("upload-field", "application/octet-stream", false, null);
// Push this into the parser using DefaultParameterParser's add() method.
((DefaultParameterParser) parameterParser).add("upload-field", test);
assertEquals("FileItem not found in keySet()!", 1, parameterParser.keySet().size());