public class FluentIterableTest extends TestCase {
@GwtIncompatible("NullPointerTester")
public void testNullPointerExceptions() {
NullPointerTester tester = new NullPointerTester();
tester.testAllPublicStaticMethods(FluentIterable.class);
}
public void testFrom() {
assertEquals(ImmutableList.of(1, 2, 3, 4),
Lists.newArrayList(FluentIterable.from(ImmutableList.of(1, 2, 3, 4))));