コード例 #1
0
 public UsersControllerTests()
 {
     _fakeContext          = new FakeCoursesContext();
     _achievementValidator = new AchievementValidator(_fakeContext);
     _achievementService   = new AchievementService(_fakeContext, _achievementValidator);
     _usersController      = new UsersController(_fakeContext, _achievementService);
 }
コード例 #2
0
 public AchievementValidatorTests()
 {
     _fakeContext          = new FakeCoursesContext();
     _achievementValidator = new AchievementValidator(_fakeContext);
 }