public async Task Update_NotFound_Async() { var updateItem = new TestItemBare(); updateItem.InitializeWithDataForTesting(TypeOfTestDataEnum.Default); await CrudStorage.UpdateAsync(CrudHelper.CreateNewId <TId>(), updateItem); Assert.Fail("Expected an exception"); }
public async Task Read_NotFound_Async() { var item = await CrdStorage.ReadAsync(CrudHelper.CreateNewId <TId>()); Microsoft.VisualStudio.TestTools.UnitTesting.Assert.IsNull(item); }
public async Task Delete_NotFound() { await CrdStorage.DeleteAsync(CrudHelper.CreateNewId <TId>()); }
public async Task Read_NotFound_Async() { var item = await CrdStorage.ReadAsync(CrudHelper.CreateNewId <TId>()); Assert.IsNull(item); }