def METHOD_NAME(aws_instance):
    aws_service = MockAWSService(aws_instance, FULL_INSTANCE_INFO_RESPONSE)
    instances = aws_service.get_managed_instances()
    assert len(instances) == 2
    assert instances[0] == EXPECTED_INSTANCE_1
    assert instances[1] == EXPECTED_INSTANCE_2