m2.runCommand(new String[]{ "", "add", "share", "file2", "C:\\Marian\\m2\\share2\\f2a.txt" });
m2.runCommand(new String[]{ "", "add", "share", "dir2", "C:\\Marian\\m2\\share2\\" });
m2.runCommand(new String[]{ "", "add", "contact", "contact1", "marian.test.1" });
m2.runCommand(new String[]{ "", "grant", "request", "dir2", "to", "contact1" });
m2.runCommand(new String[]{ "", "empty", "mailbox" });
m2.runCommand(new String[]{ "", "show", "contacts" });
m2.runCommand(new String[]{ "", "show", "shares" });
// m1 request
m1.runCommand(new String[]{ "", "request", "dir2", "from", "contact2" });
m1.runCommand(new String[]{ "", "process" });
m1.runCommand(new String[]{ "", "send" });