public void Test1()
        {
            var controller = new ApiThemeController(_themeService);

            var countTheme = controller.GetThemes().Count();

            var y = 5;

            Assert.NotEqual(countTheme, y);
        }
        public UnitTest1()
        {
            var option = new DbContextOptionsBuilder <DatabaseContext>()
                         .UseInMemoryDatabase(databaseName: "EnglishCourse")
                         .Options;

            _context = new DatabaseContext(option);

            Seed(_context);

            _unitOfWork   = new UnitOfWork(_context);
            _themeService = new ThemeService(_unitOfWork);
            _controller   = new ApiThemeController(_themeService);
        }
        public void Test3()
        {
            var controller = new ApiThemeController(_themeService);

            var countTheme = controller.Delete(2);
        }
 public void Test2()
 {
     var     controller = new ApiThemeController(_themeService);
     ThemeVM theme      = _themeService.GetAll().FirstOrDefault(x => x.ThemeId == 1);
 }