@Test
public void min() {

    assertEquals(new CoapTcpCSM(16, true), CoapTcpCSM.min(new CoapTcpCSM(16, true), new CoapTcpCSM(16, true)));
    assertEquals(new CoapTcpCSM(16, false), CoapTcpCSM.min(new CoapTcpCSM(20, false), new CoapTcpCSM(16, true)));
    assertEquals(new CoapTcpCSM(10, false), CoapTcpCSM.min(new CoapTcpCSM(10, true), new CoapTcpCSM(16, false)));
    assertEquals(new CoapTcpCSM(16, true), CoapTcpCSM.min(new CoapTcpCSM(20, true), new CoapTcpCSM(16, true)));
}