def METHOD_NAME(self):
    test_properties_dict = {
        "TaskDefinition": "arn:aws:ecs:::task-definition/test:1",
        "loadbalancerInfo": {
                "containerName": "web",
                "containerPort": 80
            } 
    }
    test_key = 'taskDefinition'
    expected_result = 'TaskDefinition'
    result = find_required_key(
        'task definition', test_properties_dict, test_key)
    self.assertEqual(result, expected_result)