code: def test_executor_map(self):
      view = self.client.load_balanced_view()
      executor = view.executor
      gen = executor.map(lambda x: x, range(5))
      assert isinstance(gen, LazyMapIterator)
      for i, r in enumerate(gen):
          assert i == r
  
file_path: ipyparallel/ipyparallel/tests/test_executor.py
imports: import time
  from ipyparallel.client.view import LazyMapIterator, LoadBalancedView
  from .clienttest import ClusterTestCase
label_desc: Use image node_id 4 for calling the TestExecutor obj's underlying member method code with example usage: obj.test_executor_map() without return types