@Test
public void testInsertOnce() throws SqlJetException {
final SqlJetSchema schema = new SqlJetSchema(db, btreeCopy);
btreeCopy.setSchema(schema);
final ISqlJetBtreeDataTable data = new SqlJetBtreeDataTable(btreeCopy, REP_CACHE_TABLE, true);
final String idx = schema.getIndexes(REP_CACHE_TABLE).iterator().next().getName();
Assert.assertNotNull(idx);
final ISqlJetBtreeIndexTable index = new SqlJetBtreeIndexTable(btreeCopy, idx, true);
btreeCopy.beginTrans(SqlJetTransactionMode.WRITE);
insertHash(schema, data, index, "TEST");