@Test
    public void testCommonPrefix() {
        assertEquals("", Seq.of().commonPrefix());
        assertEquals("", Seq.of("").commonPrefix());
        assertEquals("", Seq.of("", "A").commonPrefix());
        assertEquals("", Seq.of("", "AA", "AAB").commonPrefix());
        assertEquals("A", Seq.of("A").commonPrefix());
        assertEquals("A", Seq.of("A", "AA", "AAB").commonPrefix());
        assertEquals("AB", Seq.of("AB", "ABC", "ABCD", "ABD").commonPrefix());
        assertEquals("AB", Seq.of("ABC", "ABCD", "ABD").commonPrefix());
        assertEquals("AABB", Seq.of("AABBCC", "AABBDD", "AABBE").commonPrefix());
    }
@author Lukas Eder
@author Roman Tkalenko
jOOL-java-8/src/test/java/org/jooq/lambda/SeqTest.java