@Test
public void testMatchList_location_1Match() throws Exception {

    target = new FastMatcher(this.getClass().getResourceAsStream("location.txt"));
    final String input = "This is Bronx";
    List<LayoutToken> tokenisedInput = GrobidAnalyzer.getInstance().tokenizeWithLayoutToken(input);
    final List<OffsetPosition> offsetPositions = target.matchCharacterLayoutToken(tokenisedInput);
    assertThat(offsetPositions, hasSize(1));
    assertThat(offsetPositions.get(0).start, is(4));
    assertThat(offsetPositions.get(0).end, is(4));
}