*/
private void testSave() throws Exception {
LOG.info("save and mailboxFromResult");
final HTable mailboxes = new HTable(conf, MAILBOXES_TABLE);
final HBaseMailbox mlbx = mailboxList.get(mailboxList.size() / 2);
final Get get = new Get(mailboxRowKey(mlbx.getMailboxId()));
// get all columns for the DATA column family
get.addFamily(MAILBOX_CF);
final Result result = mailboxes.get(get);
final HBaseMailbox newValue = (HBaseMailbox) mailboxFromResult(result);
assertEquals(mlbx, newValue);
assertEquals(mlbx.getUser(), newValue.getUser());
assertEquals(mlbx.getName(), newValue.getName());
assertEquals(mlbx.getNamespace(), newValue.getNamespace());
assertEquals(mlbx.getMailboxId(), newValue.getMailboxId());
assertEquals(mlbx.getLastUid(), newValue.getLastUid());
assertEquals(mlbx.getUidValidity(), newValue.getUidValidity());
assertEquals(mlbx.getHighestModSeq(), newValue.getHighestModSeq());
assertArrayEquals(mailboxRowKey(mlbx.getMailboxId()), mailboxRowKey(newValue.getMailboxId()));
}