def METHOD_NAME(
    self,
    monkeypatch,
    db: sqlalchemy.orm.Session,
    client: fastapi.testclient.TestClient,
    k8s_secrets_mock: tests.api.conftest.K8sSecretsMock,
    iguazio_version: str,
):
    # since auth secrets are internal we don't emit events when they are created/updated/deleted,
    # so we just emit from the client for testing purposes
    self._initialize_and_mock_client(monkeypatch, iguazio_version)
    username = "some-username"
    events_client = (
        mlrun.api.utils.events.events_factory.EventsFactory().get_events_client()
    )
    event = events_client.generate_auth_secret_event(
        username=username,
        secret_name="auth_secret_name",
        action=mlrun.common.schemas.AuthSecretEventActions.created,
    )
    events_client.emit(event)
    self._assert_client_was_called(iguazio_version)