ISID { public final long serialize () throws InternetSCSIException { checkIntegrity(); long isid = 0; int firstLine = c; firstLine |= b << Constants.ONE_BYTE_SHIFT; firstLine |= a << Constants.THREE_BYTES_SHIFT; firstLine &= 0x00ffffff; firstLine |= t.value() << T_FIELD_SHIFT; isid = Utils.getUnsignedLong(firstLine) << Constants.FOUR_BYTES_SHIFT; isid |= Utils.getUnsignedLong(d) << Constants.TWO_BYTES_SHIFT; return isid; } ISID();  ISID(final Format initT, final byte initA, final short initB, final byte initC, final short initD); static final ISID createRandom(final long seed); final long serialize(); final String toString(); final boolean equals(final ISID isid); @Override final int hashCode(); final void clear(); final byte getA(); final short getB(); final byte getC(); final short getD(); final Format getT();  }
@Test public void testSerialize1 () throws InternetSCSIException { ISID isid = new ISID(Format.OUI_FORMAT, (byte) 0x00, (short) 0x0000, (byte) 0x00, (short) 0xABCD); assertEquals(TEST_CASE, isid.serialize()); }