979899100101102103104
encodedMessage = new CoapTestEncoder().encode(coapMessage); } @Test public void testDecoding() throws Exception { CoapMessage decodedMessage = (CoapMessage) new CoapTestDecoder().decode(encodedMessage); assertEquals(coapMessage, decodedMessage); }
85868788899091
} @Before public void test() throws Exception { actual = (CoapMessage) new CoapTestDecoder().decode(encodedMessageBuffer); }
84858687888990
} @Test public void testDecoding() throws Exception { new CoapTestDecoder().decode(encodedMessageBuffer); }