@Test
public void sendAdditionalNotification_testGusPostFailRetryMaxTimes() throws Exception {

    int postNotificationResponseCode = 404;
    // define mock behavior
    sendOrClearAdditionalNotification_mockBehaviorHappyCaseTemplate();
    when(httpResponseStatusLine.getStatusCode()).thenReturn(postNotificationResponseCode);
    when(EntityUtils.toString(any())).thenReturn("[{\"message\": \"BLAH\", \"errorCode\": \"BLAH2\"}]");
    // create object under test
    notifier = new GusNotifier(metricService, annotationService, auditService, config, emf, monitorService);
    // test
    boolean result = notifier.sendAdditionalNotification(context);
    assertFalse(result);
    // verify mocks
    sendOrClearAdditionalNotification_verifyGusPostMethodMockTemplate(MAX_ATTEMPTS_GUS_POST, 0, MAX_ATTEMPTS_GUS_POST, false);
}