@@ -0,0 +1,578 @@
+package CommandLineArgsTest;%0A%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport java.io.File;%0A%0Aimport org.junit.Test;%0A%0Apublic class CmdArgsTest %7B%0A%0A%09@Test%0A%09public void pathTest() %7B%0A%09%09main.Main.main(new String%5B%5D %7B%22main.testclasses.NSUPolicy1%22, %22-o%22, %22PathOutputTest%22%7D);%0A%09%09File outParent = new File(System.getProperty(%22user.dir%22));%0A%09%09File outFile = new File(outParent, %22PathOutputTest/main/testclasses/NSUPolicy1.class%22);%0A%09%09File outJar = new File(outParent, %22PathOutputTest/main/testclasses/NSUPolicy1.jar%22);%0A%09%09%0A%09%09assertTrue(outFile.exists());%0A%09%09assertTrue(outJar.exists());%0A%09%7D%0A%7D%0A

add testfile for command line