@Test
public void should_receive_onSent_callback_when_NON_message_is_sent() throws Exception {

    initServer();
    RequestCallback callback = mock(RequestCallback.class);
    given(coapTransport.sendPacket(any(), any(), any())).willReturn(CompletableFuture.completedFuture(true));
    udpMessaging.makeRequest(newCoapPacket(LOCAL_1_5683).non().get().uriPath("/test").build(), callback, TransportContext.NULL);
    verify(callback).onSent();
}