@@ -0,0 +1,906 @@
+/*%0A * Copyright (c) 2012-2017, John Campbell and other contributors.  All rights reserved.%0A *%0A * This file is part of Tectonicus. It is subject to the license terms in the LICENSE file found in%0A * the top-level directory of this distribution.  The full list of project contributors is contained%0A * in the AUTHORS file found in the same location.%0A *%0A */%0A%0Apackage tectonicus.configuration;%0A%0Aimport static org.junit.Assert.assertThat;%0Aimport static org.hamcrest.core.Is.*;%0A%0Aimport org.junit.Test;%0A%0Apublic class CommandLineParserTests %7B%0A%0A%09@Test%0A%09public void testMode() throws Exception%0A%09%7B%0A%09%09MutableConfiguration config = CommandLineParser.parseCommandLine(new String%5B%5D %7B%22mode=cmd%22%7D);%0A%09%09assertThat(config.getMode(), is(Configuration.Mode.CommandLine));%0A%09%09%0A%09%09config = CommandLineParser.parseCommandLine(new String%5B%5D %7B%22mode=interactive%22%7D);%0A%09%09assertThat(config.getMode(), is(Configuration.Mode.Interactive));%0A%09%7D%0A%7D%0A

Add a few unit tests for the command line parser