### Question:
Utils { static Collection<String> filterCommentLines(Collection<String> lines) { Collection<String> result = new ArrayList<String>(); for (String line : lines) { String trimmedLine = line.trim(); if (trimmedLine.isEmpty() || trimmedLine.startsWith("#")) { continue; } result.add(line); } return result; } private  Utils();   }### Answer:
@Test public final void testFilterComments() { Collection<String> lines = Arrays.asList( "foo", "", " # comment", " bar "); assertEquals(Arrays.asList("foo", " bar "), Utils.filterCommentLines(lines)); }