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