public async Task TestDeleteExistingRecordReturnsTrue() { await PocoView.UpsertAsync(null, GetPoco(1, "1")); Assert.IsTrue(await PocoView.DeleteAsync(null, GetPoco(1))); Assert.IsNull(await PocoView.GetAsync(null, GetPoco(1))); }
public async Task TestDeleteNonExistentRecordReturnFalse() { Assert.IsFalse(await PocoView.DeleteAsync(null, GetPoco(-1))); }