public void test4() { UserMock userMock = new UserMock(); UserBLL userBLL = new UserBLL(userMock); var actual = userBLL.AddExperience(10, 1); Assert.AreEqual(2, actual.Level); //test }
public User Get(int id) { if (id != 0) { int courseToughness = userBLL.GetCourseToughness(id); return(userBLL.AddExperience(id, 12, courseToughness)); } return(new User()); }