@Test public void testToStream() throws Exception { assertThat( ToStream.toStream(FluentIterable.of(new Integer[] {1, 2, 3, 4})) .collect(Collectors.toList()) .size(), is(4)); }
@Test public void testToStream() throws Exception { assertThat( ToStream.toStream(LazyStream.of(1, 2, 3, 4)).collect(Collectors.toList()).size(), is(4)); }