code: def test_mock_customer():
      n_customers = 4
      n_products = 3
      n_sessions = 30
      n_transactions = 400
      es = load_mock_customer(
          n_customers=n_customers,
          n_products=n_products,
          n_sessions=n_sessions,
          n_transactions=n_transactions,
          random_seed=0,
          return_entityset=True,
      )
      assert isinstance(es, EntitySet)
      df_names = [df.ww.name for df in es.dataframes]
      expected_names = [
          "transactions",
          "products",
          "sessions",
          "customers",
      ]
      assert set(expected_names) == set(df_names)
      assert len(es["customers"]) == 4
      assert len(es["products"]) == 3
      assert len(es["sessions"]) == 30
      assert len(es["transactions"]) == 400
  
file_path: featuretools/featuretools/tests/demo_tests/test_demo_data.py
imports: import urllib.request
  import pandas
  import pytest
  from featuretools import EntitySet
  from featuretools.demo import load_flight, load_mock_customer, load_retail, load_weather
label_desc: Use image node_id 3 for calling a global function with example usage: test_mock_customer() without return types