@Test
    public void testOptionals() {
        assertEquals(asList(1), Seq.seq(Optional.of(1), Optional.empty()).toList());
        assertEquals(asList(1,2), Seq.seq(Optional.of(1), Optional.of(2)).toList());
        assertEquals(asList(), Seq.seq(Optional.empty()).toList());
    }
@author Lukas Eder
@author Roman Tkalenko
jOOL/src/test/java/org/jooq/lambda/SeqTest.java