@@ -0,0 +1,837 @@
+package mlp.cli;%0A%0Aimport junit.framework.Assert;%0Aimport mlp.Main;%0Aimport org.junit.Test;%0A%0A%0A%0Aimport java.io.ByteArrayOutputStream;%0Aimport java.io.PrintStream;%0A%0Apublic class CliMainTest %7B%0A  @Test%0A  public void testMain() throws Exception %7B%0A%0A    String%5B%5D args = new String%5B3%5D;%0A    final ClassLoader classLoader = getClass().getClassLoader();%0A    args%5B0%5D = %22extract%22;%0A    args%5B1%5D = %22-in%22;%0A    args%5B2%5D = classLoader.getResource(%22mlp/schodinger_esc.txt%22).getFile();%0A    final PrintStream stdout = System.out;%0A    final ByteArrayOutputStream myOut = new ByteArrayOutputStream();%0A    System.setOut(new PrintStream(myOut));%0A    Main.main(args);%0A    final String standardOutput = myOut.toString();%0A    Assert.assertTrue(standardOutput.contains(%22generalized coordinates%22));%0A    System.setOut(stdout);%0A    System.out.println(standardOutput);%0A  %7D%0A%7D%0A%0A

Add naive cli test