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

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