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

    SignalingOptions signOpt = new SignalingOptions();
    signOpt.setMaxMessageSize(501);
    signOpt.setBlockWiseTransfer(false);
    //when
    tcpMessaging.onConnected(LOCAL_5683);
    //then
    assertSent(newCoapPacket(LOCAL_5683).code(Code.C701_CSM).signalling(signOpt));
}