public CoursesContollerCategoryTests() { this.db = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder()); this.userManager = UserManagerMock.UserManagerMockTest(); this.coursesService = new CoursesService(db); this.coursesController = new CoursesController(coursesService, reviewService, userManager, null, null); }