@Override
    public String toString() {
        return MoreObjects.toStringHelper(getClass())
                .add("version", version)
                .add("type", type)
                .add("length", length)
                .toString();
    }
@Test
    public void testToStringBmp() throws Exception {
        Bmp bmp = deserializer.deserialize(headerBytes, 0, headerBytes.length);
        String str = bmp.toString();

        assertTrue(StringUtils.contains(str, "version=" + version));
        assertTrue(StringUtils.contains(str, "type=" + type));
        assertTrue(StringUtils.contains(str, "length=" + length));
    }