source: class PegRulesTest {
  
  	private final PegRule<PegChoice> choice;
  	private final PegRule sequence;
  	private final PegRule oneOrMore;
  	private final PegRule zeroOrMore;
  	private final PegRule skipBlanks;
  
  	@Test
  	public void choice() throws PegNoMatchFoundException {
  
target: 		Assertions.assertEquals(0, choice.parse("hi").getValue().getChoiceIndex());
  		Assertions.assertEquals(1, choice.parse("ho").getValue().getChoiceIndex());
  		Assertions.assertEquals(2, choice.parse("ha").getValue().getChoiceIndex());
  	}
  
  }