Exemple #1
0
 @Test
 public void testToJooqLambda() throws Exception {
   assertThat(
       ToStream.toJooqLambda(FluentIterable.of(new Integer[] {1, 2, 3, 4}))
           .collect(Collectors.toList())
           .size(),
       is(4));
 }
Exemple #2
0
 @Test
 @Ignore
 public void testToFutureStream() throws Exception {
   assertThat(
       ToStream.toFutureStream(FluentIterable.of(new Integer[] {1, 2, 3, 4}))
           .collect(Collectors.toList())
           .size(),
       is(4));
 }
Exemple #3
0
 @Test
 public void testToLazySeq() throws Exception {
   assertThat(
       ToStream.toLazySeq(FluentIterable.of(new Integer[] {1, 2, 3, 4})).toList().size(), is(4));
 }
Exemple #4
0
 @Test
 public void testToFJStream() throws Exception {
   assertThat(
       ToStream.toFJStream(FluentIterable.of(new Integer[] {1, 2, 3, 4})).toList().length(),
       is(4));
 }