@@ -0,0 +1,745 @@
+package com.github.rholder.esthree.command;%0A%0Aimport com.github.rholder.esthree.Main;%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0Aimport org.junit.contrib.java.lang.system.ExpectedSystemExit;%0A%0Apublic class HelpTest %7B%0A%0A    @Rule%0A    public final ExpectedSystemExit exit = ExpectedSystemExit.none();%0A%0A    @Test%0A    public void helpNoneMain() %7B%0A        Main.main();%0A    %7D%0A%0A    @Test%0A    public void helpMain() %7B%0A        Main.main(%22help%22);%0A    %7D%0A%0A    @Test%0A    public void helpGetMain() %7B%0A        Main.main(%22help%22, %22get%22);%0A    %7D%0A%0A    @Test%0A    public void helpSelfMain() %7B%0A        Main.main(%22help%22, %22esthree%22);%0A    %7D%0A%0A    @Test%0A    public void helpUnexpectedMain() %7B%0A        exit.expectSystemExitWithStatus(1);%0A        Main.main(%22potato%22);%0A    %7D%0A%7D%0A

add tests that check main exit code