CityParser extends AbstractRegexParser { @Override public void parse(ParseContext parseContext) { boolean found = parseCityAndNyc(parseContext); if(!found){ found = parseCityAndState(parseContext); } if(!found) { found = parseCity(parseContext); } } CityParser(Set<String> cityNames); @Override void parse(ParseContext parseContext);  }
@Test public void testParse() { testParser(parser, LOGGER); }