@Test
public void monitorAcknowledgementSendSuccessKeepOriginalResponse() {

    final var acknowledgement = Mockito.mock(Acknowledgement.class);
    final var acknowledgementStatusCode = HttpStatusCode.ACCEPTED;
    Mockito.when(acknowledgement.getStatusCode()).thenReturn(acknowledgementStatusCode);
    final Sending underTest =
            new Sending(sendingContext, CompletableFuture.completedStage(acknowledgement), logger);
    final Optional<CompletionStage<CommandResponse>> result = underTest.monitorAndAcknowledge(exceptionConverter);
    Mockito.verifyNoInteractions(acknowledgedMonitor);
    Mockito.verify(publishedMonitor).success(externalMessage);
    assertThat(result)
            .hasValueSatisfying(resultFuture -> assertThat(resultFuture).isCompletedWithValue(acknowledgement));
}