public void TestDeleteUser_with_id_and_name() { Base <User> @base = new Base <User>(); @base.Save(new User(12, "Frank")); Assert.IsTrue(@base.Delete(0)); }
public void TestDeleteEmptyUser() { Base <User> @base = new Base <User>(); @base.Save(new User()); Assert.IsTrue(@base.Delete(0)); }
public void TestDeleteUser_with_id() { Base <User> @base = new Base <User>(); @base.Save(new User(12)); Assert.IsTrue(@base.Delete(0)); }
public void TestDeleteNull() { Base <User> @base = new Base <User>(); Assert.IsFalse(@base.Delete(0)); }