@Test
public void expectConsumesAndDoesNotThrowWhenValid() {

    SimpleParser p = new SimpleParser("hi");
    assertThat(p.expect('h'), equalTo('h'));
    assertThat(p.expect('i', '!'), equalTo('i'));
}