@Test public void consumeLetterSequence() {

    CharacterReader r = new CharacterReader("One &bar; qux");
    assertEquals("One", r.consumeLetterSequence());
    assertEquals(" &", r.consumeTo("bar;"));
    assertEquals("bar", r.consumeLetterSequence());
    assertEquals("; qux", r.consumeToEnd());
}