}
@Test
public void extraneousTokens() throws DmcValueException{
EditField ef = null;
try {
ef = new EditField("attribute editor : label : tooltip :");
assertTrue("Should have indicated extraneous colons.", false);
} catch (DmcValueException e1) {
System.out.println("Expected:\n" + e1);
assertTrue("Expected exception", true);
}
try {
ef = new EditField("attribute editor :: label : tooltip ");
assertTrue("Should have indicated extraneous colons.", false);
} catch (DmcValueException e1) {
System.out.println("Expected:\n" + e1);
assertTrue("Expected exception", true);
}