@Test
public void clearAdditionalNotification_testPostGOCNotificationRespCode401RetryAndPass() throws Exception {

    int[] postNotificationResponseCode = {401, 201};
    sendOrClearAdditionalNotification_mockBehaviorHappyCaseTemplate();
    when(httpResponseStatusLine.getStatusCode()).thenReturn(postNotificationResponseCode[0])
            .thenReturn(postNotificationResponseCode[1]);
    // create object under test
    notifier = new GOCNotifier(metricService, annotationService, auditService, config, emf, monitorService);
    // test
    boolean result = notifier.clearAdditionalNotification(context);
    assertTrue(result);
    // verify mocks
    sendOrClearAdditionalNotification_verifyMocksTemplate(2, 0, 1, 1, true);
}