@Override
    public String toString() {
        return toStringHelper(getClass())
                .add("nextHeader", Byte.toString(nextHeader))
                .add("headerExtLength", Byte.toString(headerExtLength))
                .add("options", Arrays.toString(options))
                .add("type", Short.toString(type))
                .toString();
    }
@Test
    public void testToStringBaseOptions() throws Exception {
        BaseOptions baseopt = deserializer.deserialize(bytePacket, 0, bytePacket.length);
        String str = baseopt.toString();

        assertTrue(StringUtils.contains(str, "nextHeader=" + (byte) 0x11));
        assertTrue(StringUtils.contains(str, "headerExtLength=" + (byte) 0x00));
        assertTrue(StringUtils.contains(str, "options=" + Arrays.toString(options)));
    }