def METHOD_NAME(
    config_cls: type[SQLAlchemySyncConfig | SQLAlchemySyncConfig], monkeypatch: MonkeyPatch
) -> None:
    """Test create_session_maker if no session maker provided to config."""
    config = config_cls()
    config.session_config.bind = create_engine("sqlite://")
    create_engine_mock = MagicMock()
    monkeypatch.setattr(config, "create_engine", create_engine_mock)
    assert config.session_maker is None
    assert isinstance(config.create_session_maker(), config.session_maker_class)
    create_engine_mock.assert_not_called()