@Test
public void testTakeIterator() {

  assertTrue(mlist(asList(1, 2, 3, 4, 5).iterator()).take(0).value().isEmpty());
  assertEquals(3, mlist(asList(1, 2, 3, 4, 5).iterator()).take(3).value().size());
  assertEquals(5, mlist(asList(1, 2, 3, 4, 5).iterator()).take(5).value().size());
  assertEquals(5, mlist(asList(1, 2, 3, 4, 5).iterator()).take(10).value().size());
}