code: def test_list_feature_groups_with_all_filters(sagemaker_session_mock):
      feature_store = FeatureStore(
          sagemaker_session=sagemaker_session_mock
      )
      feature_store.list_feature_groups(
          name_contains="MyFeatureGroup",
          feature_group_status_equals="Created",
          offline_store_status_equals="Active",
          creation_time_after=datetime.datetime(2020, 12, 1),
          creation_time_before=datetime.datetime(2022, 7, 1),
          sort_order="Ascending",
          sort_by="Name",
          max_results=50,
          next_token="token",
      )
      sagemaker_session_mock.list_feature_groups.assert_called_with(
          name_contains="MyFeatureGroup",
          feature_group_status_equals="Created",
          offline_store_status_equals="Active",
          creation_time_after=datetime.datetime(2020, 12, 1),
          creation_time_before=datetime.datetime(2022, 7, 1),
          sort_order="Ascending",
          sort_by="Name",
          max_results=50,
          next_token="token",
      )
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/feature_store/test_feature_store.py
imports: from __future__ import absolute_import
  import datetime
  import pandas
  import pytest
  from mock import Mock
  from sagemaker.feature_store.feature_store import FeatureStore
  from sagemaker.feature_store.inputs import Filter, FilterOperatorEnum, ResourceEnum, SearchOperatorEnum, SortOrderEnum, Identifier
label_desc: Use image node_id 8 for calling a global function with example usage: test_list_feature_groups_with_all_filters(sagemaker_session_mock) without return types