@Test
public void sendAdditionalNotification_testPostGOCNotificationRespCode500RetryMaxTimes() throws Exception {

    int postNotificationResponseCode = 500;
    sendOrClearAdditionalNotification_mockBehaviorHappyCaseTemplate();
    when(httpResponseStatusLine.getStatusCode()).thenReturn(postNotificationResponseCode);
    // create object under test
    notifier = new GOCNotifier(metricService, annotationService, auditService, config, emf, monitorService);
    // test
    boolean result = notifier.sendAdditionalNotification(context);
    assertFalse(result);
    // verify mocks
    sendOrClearAdditionalNotification_verifyMocksTemplate(MAX_ATTEMPTS_GOC_POST, 0, 0, MAX_ATTEMPTS_GOC_POST, false);
}