Example #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));
 }
Example #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));
 }
Example #3
0
 @Test
 public void testToLazySeq() throws Exception {
   assertThat(
       ToStream.toLazySeq(FluentIterable.of(new Integer[] {1, 2, 3, 4})).toList().size(), is(4));
 }
Example #4
0
 @Test
 public void testToFJStream() throws Exception {
   assertThat(
       ToStream.toFJStream(FluentIterable.of(new Integer[] {1, 2, 3, 4})).toList().length(),
       is(4));
 }