@Test
public void testTokenLevelStats_allGood() throws Exception {

    String result = "a I-<1> I-<1>\nb <1> <1>\nc I-<2> I-<2>\nd I-<1> I-<1>\ne <1> <1>\n";
    Stats wordStats = EvaluationUtilities.tokenLevelStats(result);
    LabelStat labelstat1 = wordStats.getLabelStat("<1>");
    LabelStat labelstat2 = wordStats.getLabelStat("<2>");
    assertThat(labelstat1.getObserved(), is(4));
    assertThat(labelstat2.getObserved(), is(1));
    assertThat(labelstat1.getExpected(), is(4));
    assertThat(labelstat2.getExpected(), is(1));
    assertThat(labelstat1.getSupport(), is(4L));
    assertThat(labelstat2.getSupport(), is(1L));
}