public void CommitSafely_bad_commit() { var db = new Database(); var orm = new Orm(db); Assert.False(orm.WriteSafely("bad commit")); }
public void CommitSafely_good() { var db = new Database(); var orm = new Orm(db); Assert.True(orm.WriteSafely("good write")); }