int size = _fileInformationBlock.getSize();
byte[] buf = new byte[size];
_fileInformationBlock.serialize(buf, 0);
FileInformationBlock newFileInformationBlock =
new FileInformationBlock(buf);
Field[] fields = FileInformationBlock.class.getSuperclass().getDeclaredFields();
AccessibleObject.setAccessible(fields, true);
for (int x = 0; x < fields.length; x++)
{
assertEquals(fields[x].get(_fileInformationBlock), fields[x].get(newFileInformationBlock));
}