assertTrue(!metaTable.tableSet().contains("foo"));
LOG.info("metaTable tables = " + metaTable.listTables());
assertEquals(0, metaTable.listTables().size());
assertEquals(0, metaTable.tableSet().size());
final CassandraMetadataRestorer restorer = new CassandraMetadataRestorer();
restorer.restoreTables(backup, kiji);
final KijiMetaTable newMetaTable = kiji.getMetaTable();
assertEquals("The number of tables with layouts is incorrect.", 1,
newMetaTable.listTables().size());
assertEquals("The number of tables with kv pairs is incorrect.", 1,
newMetaTable.tableSet().size());
assertEquals("The number of keys for the foo table is incorrect.", 1,
newMetaTable.keySet("foo").size());
assertArrayEquals(BYTES_VALUE, newMetaTable.getValue("foo", "key"));
systemTable.putValue("testKey", Bytes.toBytes("changedValue"));
restorer.restoreSystemVars(backup, kiji);
assertEquals("testValue", Bytes.toString(systemTable.getValue("testKey")));
}