def METHOD_NAME(self):
    ecs_client = mock.MagicMock
    ecs_client.task_definitions = []
    with mock.patch(
        "prowler.providers.aws.services.ecs.ecs_service.ECS",
        ecs_client,
    ):
        from prowler.providers.aws.services.ecs.ecs_task_definitions_no_environment_secrets.ecs_task_definitions_no_environment_secrets import (
            ecs_task_definitions_no_environment_secrets,
        )
        check = ecs_task_definitions_no_environment_secrets()
        result = check.execute()
        assert len(result) == 0