@Test
public void sendAdditionalNotification_testSocketTimeoutExceptionRetryAndPass() throws Exception {

    sendOrClearAdditionalNotification_mockBehaviorHappyCaseTemplate();
    when(httpClient.execute(any())).thenThrow(new SocketTimeoutException())
            .thenReturn(httpResponse);
    when(httpResponseStatusLine.getStatusCode()).thenReturn(201);
    // create object under test
    notifier = new GOCNotifier(metricService, annotationService, auditService, config, emf, monitorService);
    // test
    boolean result = notifier.sendAdditionalNotification(context);
    assertTrue(result);
    // verify mocks
    sendOrClearAdditionalNotification_verifyMocksTemplate(2, 1, 0, 0, true);
}