public class ArgTypesTest
{
@Test
public void argSupplied() throws Throwable
{
ArgTool basicTest = new ArgTool(true, true, true);
CommonsCLILauncher.mainWithInstance(basicTest, new String[]{"-tc", "-flag1", "-flag2"});
Assert.assertTrue("Flags don't match expected state: " + basicTest.state(), basicTest.isSet());
}