public void CleanupItemsOlderThan()
 {
     using (var connection = Connection.OpenConnection())
     {
         Installer.CreateTable(connection, "MessageAttachments").Wait();
         persister.DeleteAllAttachments(connection, null).Wait();
         persister.SaveStream(connection, null, "theMessageId1", "theName", defaultTestDate, GetStream()).GetAwaiter().GetResult();
         persister.SaveStream(connection, null, "theMessageId2", "theName", defaultTestDate.AddYears(2), GetStream()).GetAwaiter().GetResult();
         persister.CleanupItemsOlderThan(connection, null, new DateTime(2001, 1, 1, 1, 1, 1)).Wait();
         var result = persister.ReadAllInfo(connection, null).GetAwaiter().GetResult();
         Assert.NotNull(result);
         ObjectApprover.VerifyWithJson(result);
     }
 }