def METHOD_NAME(self):
    with temporary_env({"SERVICES": "es,cognito:1337", "EAGER_SERVICE_LOADING": "1"}):
        result = get_enabled_apis()
    assert len(result) == 4
    assert result == {
        # directly given
        "es",
        # a dependency of es
        "opensearch",
        # "cognito" is a composite for "cognito-idp" and "cognito-identity"
        "cognito-idp",
        "cognito-identity",
    }