### Question:
ConfiguratorMain { protected static List<String> parseFilters(BufferedReader input) throws IOException { List<String> lines = new ArrayList<String>(); String line = null; while ((line = input.readLine()) != null) { line = cleanLine(line); if (line != null && line.length() > 0) { lines.add(line); } } return lines; }  static void main(String[] args);  }### Answer:
@Test public void testParseFilters() throws IOException { String[] filters = new String[] { "/services/denver/**", "/services/chicago/**", }; String testInput = filters[0] + "\n" + filters[1] + "\n" + "# This is a comment" + "\n"; BufferedReader input = new BufferedReader(new StringReader(testInput)); Assert.assertEquals(ConfiguratorMain.parseFilters(input), Arrays.asList(filters)); }