@Test
public void withNewOptions() {

    assertEquals(new CoapTcpCSM(1152, false), BASE.withNewOptions(null, null));
    assertEquals(new CoapTcpCSM(1000, false), BASE.withNewOptions(1000L, null));
    assertEquals(new CoapTcpCSM(1000, true), BASE.withNewOptions(1000L, true));
}