@Test
public void testMatcherList_location() throws Exception {

    target = new FastMatcher(this.getClass().getResourceAsStream("location.txt"));
    final String input = "I'm walking in The Bronx";
    List<LayoutToken> tokenisedInput = GrobidAnalyzer.getInstance().tokenizeWithLayoutToken(input);
    final List<OffsetPosition> offsetPositions = target.matchLayoutToken(tokenisedInput);
    assertThat(offsetPositions, hasSize(2));
    assertThat(offsetPositions.get(0).start, is(8));
    assertThat(offsetPositions.get(0).end, is(10));
    assertThat(offsetPositions.get(1).start, is(10));
    assertThat(offsetPositions.get(1).end, is(10));
}