def METHOD_NAME(self):
    ecs_client = client("ecs", region_name=AWS_REGION)
    definition = dict(
        family="test_ecs_task",
        containerDefinitions=[
            {
                "name": "hello_world",
                "image": "hello-world:latest",
                "memory": 400,
            }
        ],
    )
    task_definition = ecs_client.register_task_definition(**definition)
    audit_info = self.set_mocked_audit_info()
    ecs = ECS(audit_info)
    assert len(ecs.task_definitions) == 1
    assert (
        ecs.task_definitions[0].name == task_definition["taskDefinition"]["family"]
    )
    assert (
        ecs.task_definitions[0].arn
        == task_definition["taskDefinition"]["taskDefinitionArn"]
    )
    assert ecs.task_definitions[0].environment_variables == []