App { public static void main(final String... args) throws FileNotFoundException { prepare(); execute(args); unprepare(); } private  App(); static void prepare(); static void unprepare(); static void execute(final String... args); static void main(final String... args); static FileLoggerModule fileLoggerModule; static ConsoleLoggerModule consoleLoggerModule; }
@Test public void test() throws FileNotFoundException { final String[] args = {}; App.main(args); }