test_class.declarator: retryPolicyFactory
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private RetryPolicyFactory retryPolicyFactory;
test_class.type: RetryPolicyFactory
test_class.var_name: retryPolicyFactory
test_class.declarator: configurationHelper
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private ConfigurationHelper configurationHelper;
test_class.type: ConfigurationHelper
test_class.var_name: configurationHelper
test_class.declarator: backoffStrategy
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private BackoffStrategy backoffStrategy;
test_class.type: BackoffStrategy
test_class.var_name: backoffStrategy
test_class.file: herd-code/herd-dao/src/test/java/org/finra/herd/dao/RetryPolicyFactoryTest.java
test_class.identifier: RetryPolicyFactoryTest
test_case.body: @Test
      public void assertResultRetryPolicyConfiguredCorrectly()
      {
          int expectedMaxErrorRetry = 12345;
  
          when(configurationHelper.getProperty(any(), eq(Integer.class))).thenReturn(expectedMaxErrorRetry);
  
          RetryPolicy retryPolicy = retryPolicyFactory.getRetryPolicy();
  
          assertEquals(PredefinedRetryPolicies.DEFAULT_RETRY_CONDITION, retryPolicy.getRetryCondition());
          assertEquals(backoffStrategy, retryPolicy.getBackoffStrategy());
          assertEquals(expectedMaxErrorRetry, retryPolicy.getMaxErrorRetry());
      }
test_case.class_method_signature: RetryPolicyFactoryTest.assertResultRetryPolicyConfiguredCorrectly()
test_case.full_signature: @Test public void assertResultRetryPolicyConfiguredCorrectly()
test_case.identifier: assertResultRetryPolicyConfiguredCorrectly
test_case.invocations: thenReturn when getProperty any eq getRetryPolicy assertEquals getRetryCondition assertEquals getBackoffStrategy assertEquals getMaxErrorRetry
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertResultRetryPolicyConfiguredCorrectly()
focal_class.declarator: configurationHelper
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ConfigurationHelper configurationHelper;
focal_class.type: ConfigurationHelper
focal_class.var_name: configurationHelper
focal_class.declarator: backoffStrategy
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private BackoffStrategy backoffStrategy;
focal_class.type: BackoffStrategy
focal_class.var_name: backoffStrategy
focal_class.file: herd-code/herd-dao/src/main/java/org/finra/herd/dao/RetryPolicyFactory.java
focal_class.identifier: RetryPolicyFactory
focal_class.class_method_signature: RetryPolicyFactory.getRetryPolicy()
focal_class.full_signature: public RetryPolicy getRetryPolicy()
focal_class.identifier: getRetryPolicy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: RetryPolicy
focal_class.signature: RetryPolicy getRetryPolicy()
focal_method.body: public RetryPolicy getRetryPolicy()
      {
          return new RetryPolicy(PredefinedRetryPolicies.DEFAULT_RETRY_CONDITION, backoffStrategy,
              configurationHelper.getProperty(ConfigurationValue.AWS_MAX_RETRY_ATTEMPT, Integer.class), true);
      }
focal_method.class_method_signature: RetryPolicyFactory.getRetryPolicy()
focal_method.full_signature: public RetryPolicy getRetryPolicy()
focal_method.identifier: getRetryPolicy
focal_method.invocations: getProperty
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: RetryPolicy
focal_method.signature: RetryPolicy getRetryPolicy()