@Test
public void lineIteratorWithConstraint() throws IOException {

    LineIterator li = new SimpleTextReader
            .Builder("test/multi_line_text_file.txt")
            .ignoreWhiteSpaceLines()
            .trim()
            .build().getLineIterator();
    int i = 0;
    while (li.hasNext()) {
        String s = li.next();
        if (i == 0) assertEquals(s, "uno");
        if (i == 1) assertEquals(s, "dos");
        i++;
    }
    IOs.closeSilently(li);
}