test_class.declarator: mockitoRule = MockitoJUnit.rule()
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public MockitoRule mockitoRule = MockitoJUnit.rule();
test_class.type: MockitoRule
test_class.var_name: mockitoRule
test_class.declarator: mockAmazonRoute53
test_class.modifier: @Mock
test_class.original_string: @Mock
      AmazonRoute53 mockAmazonRoute53;
test_class.type: AmazonRoute53
test_class.var_name: mockAmazonRoute53
test_class.declarator: route53RaiderUnderTest
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private  Route53Raider route53RaiderUnderTest;
test_class.type: Route53Raider
test_class.var_name: route53RaiderUnderTest
test_class.declarator: route53Delegator
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private Route53Delegator route53Delegator;
test_class.type: Route53Delegator
test_class.var_name: route53Delegator
test_class.declarator: aLoadBalancerName = "elbName"
test_class.modifier: private
test_class.original_string: private String aLoadBalancerName = "elbName";
test_class.type: String
test_class.var_name: aLoadBalancerName
test_class.declarator: SW1_R53_HEALTH_CHECK_ID = "d5c9f928-c514-4318-86b4-e26313d2188a"
test_class.modifier: private final
test_class.original_string: private final String SW1_R53_HEALTH_CHECK_ID = "d5c9f928-c514-4318-86b4-e26313d2188a";
test_class.type: String
test_class.var_name: SW1_R53_HEALTH_CHECK_ID
test_class.declarator: SW2_R53_HEALTH_CHECK_ID = "281406ee-8e57-45c1-9b44-fc2a05c5f011"
test_class.modifier: private final
test_class.original_string: private final String SW2_R53_HEALTH_CHECK_ID = "281406ee-8e57-45c1-9b44-fc2a05c5f011";
test_class.type: String
test_class.var_name: SW2_R53_HEALTH_CHECK_ID
test_class.file: cloudraider-core/src/test/java/com/intuit/cloudraider/core/impl/Route53RaiderImplTest.java
test_class.identifier: Route53RaiderImplTest
test_case.body: @Test
      public void testUpdateHealthCheckRegions() {
          UpdateHealthCheckResult updateHealthCheckResult = PowerMockito.mock(UpdateHealthCheckResult.class);
          Mockito.when(mockAmazonRoute53.updateHealthCheck(Mockito.any())).thenReturn(updateHealthCheckResult);
  
          route53RaiderUnderTest.updateHealthCheckRegions(SW2_R53_HEALTH_CHECK_ID, Arrays.asList("us-west-2","us-east-1"));
      }
test_case.class_method_signature: Route53RaiderImplTest.testUpdateHealthCheckRegions()
test_case.full_signature: @Test public void testUpdateHealthCheckRegions()
test_case.identifier: testUpdateHealthCheckRegions
test_case.invocations: mock thenReturn when updateHealthCheck any updateHealthCheckRegions asList
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testUpdateHealthCheckRegions()
focal_class.declarator: logger = LoggerFactory.getLogger(this.getClass())
focal_class.original_string: Logger logger = LoggerFactory.getLogger(this.getClass());
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: route53Delegator
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private Route53Delegator route53Delegator;
focal_class.type: Route53Delegator
focal_class.var_name: route53Delegator
focal_class.file: cloudraider-core/src/main/java/com/intuit/cloudraider/core/impl/Route53RaiderImpl.java
focal_class.identifier: Route53RaiderImpl
focal_class.interfaces: implements Route53Raider
focal_class.class_method_signature: Route53RaiderImpl.Route53RaiderImpl()
focal_class.full_signature: public  Route53RaiderImpl()
focal_class.identifier: Route53RaiderImpl
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  Route53RaiderImpl()
focal_class.class_method_signature: Route53RaiderImpl.listHealthCheckers()
focal_class.full_signature: @Override public List<HealthCheck> listHealthCheckers()
focal_class.identifier: listHealthCheckers
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<HealthCheck>
focal_class.signature: List<HealthCheck> listHealthCheckers()
focal_class.class_method_signature: Route53RaiderImpl.getHealthCheckerStatus(String healthCheckerId)
focal_class.full_signature: @Override public List<HealthCheckObservation> getHealthCheckerStatus(String healthCheckerId)
focal_class.identifier: getHealthCheckerStatus
focal_class.modifiers: @Override public
focal_class.parameters: (String healthCheckerId)
focal_class.return: List<HealthCheckObservation>
focal_class.signature: List<HealthCheckObservation> getHealthCheckerStatus(String healthCheckerId)
focal_class.class_method_signature: Route53RaiderImpl.getSimpleHealthCheckerStatus(String healthCheckerId)
focal_class.full_signature: @Override public HealthCheckStatus getSimpleHealthCheckerStatus(String healthCheckerId)
focal_class.identifier: getSimpleHealthCheckerStatus
focal_class.modifiers: @Override public
focal_class.parameters: (String healthCheckerId)
focal_class.return: HealthCheckStatus
focal_class.signature: HealthCheckStatus getSimpleHealthCheckerStatus(String healthCheckerId)
focal_class.class_method_signature: Route53RaiderImpl.updateTrafficPolicy(String trafficPolicyName, int version)
focal_class.full_signature: @Override public void updateTrafficPolicy(String trafficPolicyName, int version)
focal_class.identifier: updateTrafficPolicy
focal_class.modifiers: @Override public
focal_class.parameters: (String trafficPolicyName, int version)
focal_class.return: void
focal_class.signature: void updateTrafficPolicy(String trafficPolicyName, int version)
focal_class.class_method_signature: Route53RaiderImpl.getTrafficPolicyVersion(String trafficPolicyName)
focal_class.full_signature: @Override public int getTrafficPolicyVersion(String trafficPolicyName)
focal_class.identifier: getTrafficPolicyVersion
focal_class.modifiers: @Override public
focal_class.parameters: (String trafficPolicyName)
focal_class.return: int
focal_class.signature: int getTrafficPolicyVersion(String trafficPolicyName)
focal_class.class_method_signature: Route53RaiderImpl.getR53TrafficPolicyId(String trafficPolicyName)
focal_class.full_signature: private String getR53TrafficPolicyId(String trafficPolicyName)
focal_class.identifier: getR53TrafficPolicyId
focal_class.modifiers: private
focal_class.parameters: (String trafficPolicyName)
focal_class.return: String
focal_class.signature: String getR53TrafficPolicyId(String trafficPolicyName)
focal_class.class_method_signature: Route53RaiderImpl.getR53PolicyId(String policyId)
focal_class.full_signature: public String getR53PolicyId(String policyId)
focal_class.identifier: getR53PolicyId
focal_class.modifiers: public
focal_class.parameters: (String policyId)
focal_class.return: String
focal_class.signature: String getR53PolicyId(String policyId)
focal_class.class_method_signature: Route53RaiderImpl.updateHealthCheckRegions(String healthCheckId, List<String> regions)
focal_class.full_signature: @Override public void updateHealthCheckRegions(String healthCheckId, List<String> regions)
focal_class.identifier: updateHealthCheckRegions
focal_class.modifiers: @Override public
focal_class.parameters: (String healthCheckId, List<String> regions)
focal_class.return: void
focal_class.signature: void updateHealthCheckRegions(String healthCheckId, List<String> regions)
focal_class.class_method_signature: Route53RaiderImpl.getHealthCheckRegions(String healthCheckId)
focal_class.full_signature: @Override public List<String> getHealthCheckRegions(String healthCheckId)
focal_class.identifier: getHealthCheckRegions
focal_class.modifiers: @Override public
focal_class.parameters: (String healthCheckId)
focal_class.return: List<String>
focal_class.signature: List<String> getHealthCheckRegions(String healthCheckId)
focal_class.class_method_signature: Route53RaiderImpl.updateHealthCheckToDefaultRegions(String healthCheckId)
focal_class.full_signature: @Override public void updateHealthCheckToDefaultRegions(String healthCheckId)
focal_class.identifier: updateHealthCheckToDefaultRegions
focal_class.modifiers: @Override public
focal_class.parameters: (String healthCheckId)
focal_class.return: void
focal_class.signature: void updateHealthCheckToDefaultRegions(String healthCheckId)
focal_method.body: @Override
      public void updateHealthCheckRegions(String healthCheckId, List<String> regions) {
          UpdateHealthCheckRequest updateHealthCheckRequest = new UpdateHealthCheckRequest()
                  .withHealthCheckId(healthCheckId)
                  .withRegions(regions);
          route53Delegator.getAmazonRoute53().updateHealthCheck(updateHealthCheckRequest);
  
      }
focal_method.class_method_signature: Route53RaiderImpl.updateHealthCheckRegions(String healthCheckId, List<String> regions)
focal_method.full_signature: @Override public void updateHealthCheckRegions(String healthCheckId, List<String> regions)
focal_method.identifier: updateHealthCheckRegions
focal_method.invocations: withRegions withHealthCheckId updateHealthCheck getAmazonRoute53
focal_method.modifiers: @Override public
focal_method.parameters: (String healthCheckId, List<String> regions)
focal_method.return: void
focal_method.signature: void updateHealthCheckRegions(String healthCheckId, List<String> regions)