Bug 166600 [DataBinding] Refactor tests to be in the correct packages
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/mask/EditMaskLexerAndTokenTest.java
token.initializeEditMask("#", 0);
		assertTrue("Should accept a #", token.accept("0"));
		assertEquals(token.getInput(), "0");
	}
	
	public void testClear_withNonLiteral() throws Exception {
		token.initializeEditMask("#", 0);
		assertTrue("Should accept a 0", token.accept("0"));
		assertNotNull("Input should not be null", token.getInput());
		token.clear();
		assertNull("Input should be null after clear", token.getInput());
	}
	
	public void testClear_withLiteral() throws Exception {
		token.initializeEditMask("(", 0);
		assertNotNull("Input should not be null", token.getInput());
		token.clear();
		assertNotNull("Input should still not be null after clear of read-only literal", token.getInput());
	}
	
	public void testIsComplete_withNonLiteral() throws Exception {
		token.initializeEditMask("#", 0);
		assertFalse("should not be complete", token.isComplete());
		token.accept("1");
		assertTrue("should be complete", token.isComplete());
		token.clear();
		assertFalse("should not be complete", token.isComplete());
	}
}