SHARE
TWEET

Untitled

a guest Aug 14th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [TestMethod]
  2.         public void Insert_User_Than_Check_GetAll_Count_Test()
  3.         {
  4.             var actual = this.MockUserRepository.GetAll().Count + 1;
  5.             var user = new User { Id = 4, FirstName = "User4", LastName = "User4LastName" };
  6.             this.MockUserRepository.Insert(user);
  7.             var expected = this.MockUserRepository.GetAll().Count;
  8.             Assert.AreEqual(actual, expected);
  9.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top