@Test
	public void TestOptions() {
		ArgSet a1 = new ArgSet("nooption -o --option -op -- - -");
		assertTrue(a1.hasArg());
		assertFalse(a1.hasAbbArg());
		assertFalse(a1.hasOptionArg());
		a1.pop();
		assertFalse(a1.hasOptionArg());
		assertTrue(a1.hasAbbArg());
		assertTrue(a1.fetchAbbr().equals('o'));
		assertTrue(a1.hasOptionArg());
		assertFalse(a1.hasAbbArg());
		assertTrue(a1.fetchOption().equals("option"));
		assertFalse(a1.hasAbbArg());
		assertFalse(a1.hasOptionArg());
		assertTrue(a1.pop().equals("-op"));
		assertFalse(a1.hasAbbArg());
		assertFalse(a1.hasOptionArg());
		a1.pop();
		assertFalse(a1.hasAbbArg());
		assertFalse(a1.hasOptionArg());
		a1.pop();
		assertFalse(a1.hasAbbArg());
		assertFalse(a1.hasOptionArg());
		a1.pop();
	}