public void TestGetAll()
 {
     List<TestObj> testObjs = new List<TestObj>();
     for (int i = 0; i < 10; i++)
     {
         testObjs.Add(new TestObj(i.ToString(), i)); 
     }
     var records = database.SaveAll(testObjs);
     foreach (var record in records)
     {
         Assert.IsTrue(testObjs.Contains(record.Value), "IObjectDatabase.SaveAll failed");
     }
     records = database.GetAll<TestObj>();
     foreach (var record in records)
     {
         Assert.IsTrue(testObjs.Contains(record.Value), "IObjectDatabase.GetAll failed to return an object from memory");
     }
     database.Dispose();
     database = new SQLiteObjectDatabase(databaseFile);
     var newRecords = database.GetAll<TestObj>();
     foreach (var record in records)
     {
         Assert.IsTrue(records.FirstOrDefault(i => newRecords.Select(g => g.UniqueId).Contains(i.UniqueId)) != null, "IObjectDatabase.GetAll failed to return an object from storage");
     }
 }