@Override
    public String toString() {
        return toStringHelper(getClass())
                .add("nextHeader", Byte.toString(nextHeader))
                .add("headerExtLength", Byte.toString(headerExtLength))
                .add("routingType", Byte.toString(routingType))
                .add("segmentsLeft", Byte.toString(segmentsLeft))
                .add("routingData", Arrays.toString(routingData))
                .toString();
    }
@Test
    public void testToStringRouting() throws Exception {
        Routing routing = deserializer.deserialize(bytePacket, 0, bytePacket.length);
        String str = routing.toString();

        assertTrue(StringUtils.contains(str, "nextHeader=" + (byte) 0x11));
        assertTrue(StringUtils.contains(str, "headerExtLength=" + (byte) 0x02));
        assertTrue(StringUtils.contains(str, "routingType=" + (byte) 0x00));
        assertTrue(StringUtils.contains(str, "segmentsLeft=" + (byte) 0x03));
        assertTrue(StringUtils.contains(str, "routingData=" + Arrays.toString(routingData)));
    }