public async Task ErrorRate_DeleteOne_ReturnsValue_Test() { var expected = await Err.DeleteOne(1); await Db.Connection.CloseAsync(); Assert.IsNotNull(expected); }
public async Task ErrorRate_DeleteOne_ReturnsNotFoundResultOnNullIndex_Test() { var actual = await Err.DeleteOne(999); await Db.Connection.CloseAsync(); Assert.IsInstanceOf <NotFoundResult>(actual); }