codeBuilder = new HtmlCodeBuilder();
}
@Test
public void testRead() {
assertTrue(tokenizer.consume(new CodeReader("CONSTANT"), codeBuilder));
assertTrue(tokenizer.consume(new CodeReader("IS_CONSTANT "), codeBuilder));
assertTrue(tokenizer.consume(new CodeReader("IS-CONSTANT "), codeBuilder));
assertFalse(tokenizer.consume(new CodeReader("Class"), codeBuilder));
assertFalse(tokenizer.consume(new CodeReader("_NOTACONSTANT"), codeBuilder));
assertFalse(tokenizer.consume(new CodeReader("IS_not_a_constant"), codeBuilder));
assertFalse(tokenizer.consume(new CodeReader("property"), codeBuilder));
assertFalse(tokenizer.consume(new CodeReader(" "), codeBuilder));
}