code: def test_feature_store_create_online_only_with_in_memory(
      sagemaker_session_mock, role_arn, feature_group_dummy_definitions
  ):
      feature_group = FeatureGroup(
          name="MyFeatureGroup",
          sagemaker_session=sagemaker_session_mock,
      )
      feature_group.feature_definitions = (
          feature_group_dummy_definitions
      )
      feature_group.create(
          s3_uri=False,
          record_identifier_name="feature1",
          event_time_feature_name="feature2",
          role_arn=role_arn,
          enable_online_store=True,
          online_store_storage_type=OnlineStoreStorageTypeEnum.IN_MEMORY,
      )
      sagemaker_session_mock.create_feature_group.assert_called_with(
          feature_group_name="MyFeatureGroup",
          record_identifier_name="feature1",
          event_time_feature_name="feature2",
          feature_definitions=[
              fd.to_dict() for fd in feature_group_dummy_definitions
          ],
          role_arn=role_arn,
          description=None,
          tags=None,
          online_store_config={
              "EnableOnlineStore": True,
              "StorageType": "InMemory",
          },
      )
  
imports: from __future__ import absolute_import
  import pandas
  import pytest
  from mock import Mock, patch, MagicMock
  from botocore.exceptions import ProfileNotFound
  from sagemaker.feature_store.feature_definition import FractionalFeatureDefinition, IntegralFeatureDefinition, StringFeatureDefinition, FeatureTypeEnum, VectorCollectionType, SetCollectionType, ListCollectionType
  from sagemaker.feature_store.feature_group import FeatureGroup, IngestionManagerPandas, AthenaQuery, IngestionError
  from sagemaker.feature_store.inputs import FeatureParameter, DeletionModeEnum, TtlDuration, OnlineStoreConfigUpdate, OnlineStoreStorageTypeEnum
  from tests.unit import SAGEMAKER_CONFIG_FEATURE_GROUP
label_desc: Use image node_id 12 for calling a global function with example usage: test_feature_store_create_online_only_with_in_memory(sagemaker_session_mock, role_arn, feature_group_dummy_definitions) without return types