public void UserRepositoryMock_UpdateUser() { UserRepositoryMock urm = new UserRepositoryMock(); User user = new User() { Username = "******", UserId = 1 }; urm.UpdateUser(user); var a = urm.GetUserById(1); Assert.AreEqual(user, a); }