@Test
    public void testFindFirst() {
        assertEquals(Optional.empty(), Seq.of(1, 2, 3).findFirst(t -> false));
        assertEquals(Optional.empty(), Seq.of(1, 2, 3).findFirst(t -> t > 3));
        assertEquals(Optional.of(3), Seq.of(1, 2, 3).findFirst(t -> t > 2));
        assertEquals(Optional.of(2), Seq.of(1, 2, 3).findFirst(t -> t > 1));
        assertEquals(Optional.of(1), Seq.of(1, 2, 3).findFirst(t -> t > 0));
    }
@author Lukas Eder
@author Roman Tkalenko
jOOL-java-8/src/test/java/org/jooq/lambda/SeqTest.java