@Override
    public String toString() {
        StringBuilder str = new StringBuilder();
        PropertyIterator iter = getHTTPFileArgsCollection().iterator();
        while (iter.hasNext()) {
            HTTPFileArg file = (HTTPFileArg) iter.next().getObjectValue();
            str.append(file.toString());
            if (iter.hasNext()) {
                str.append("\n"); //$NON-NLS-1$
            }
        }
        return str.toString();
    }
@Test
    public void testToString() throws Exception {
        HTTPFileArgs files = new HTTPFileArgs();
        files.addHTTPFileArg("file1");
        files.addHTTPFileArg("file2.jpg");
        files.addHTTPFileArg("file3.jar");
        assertEquals("path:'file1'|param:''|mimetype:'application/octet-stream'\n"
                    +"path:'file2.jpg'|param:''|mimetype:'image/jpeg'\n"
                    +"path:'file3.jar'|param:''|mimetype:'application/java-archive'", files.toString());
    }