@Test
public void shouldSetMessageIdOnSend_resetResponse_toNonRequest() throws IOException, CoapException {

    initServer();
    mid = 1000;
    udpMessaging.sendResponse(newCoapPacket(LOCAL_5683).mid(0).non().get().build(), newCoapPacket(LOCAL_5683).mid(0).reset().build(), TransportContext.NULL);
    assertSent(newCoapPacket(LOCAL_5683).mid(1000).reset());
}