@Test
public void should_call_exception_when_abort_signal_received() throws Exception {

    CompletableFuture<CoapPacket> resp = makeRequest(newCoapPacket(LOCAL_1_5683).token(2001).con().get().uriPath("/test"));
    reset(coapTransport);
    receive(newCoapPacket(LOCAL_1_5683).con(Code.C705_ABORT));
    assertTrue(resp.isCompletedExceptionally());
    assertThatThrownBy(resp::get).hasCauseExactlyInstanceOf(IOException.class);
    assertNothingSent();
}