code: def test_entry_point(es, monkeypatch):
      entry_point = MockEntryPoint()
      # overrides a module used in the entry_point decorator for dfs
      # so the decorator will use this mock entry point
      monkeypatch.setitem(
          dfs.__globals__["entry_point"].__globals__,
          "pkg_resources",
          MockPkgResources(entry_point),
      )
      fm, fl = dfs(entityset=es, target_dataframe_name="customers")
      assert "entityset" in entry_point.kwargs.keys()
      assert "target_dataframe_name" in entry_point.kwargs.keys()
      assert (fm, fl) == entry_point.return_value
  
file_path: featuretools/featuretools/tests/utils_tests/test_entry_point.py
imports: import pandas
  import pytest
  from featuretools import dfs
label_desc: Use image node_id 4 for calling a global function with example usage: test_entry_point(es, monkeypatch) without return types