public async Task DetailsViewReturnTest()
        {
            var optionsBuilder = new DbContextOptionsBuilder <ApplicationDbContext>();

            optionsBuilder.UseInMemoryDatabase(databaseName: "db1");
            var _dbContext = new ApplicationDbContext(optionsBuilder.Options);

            var controller = new BudgetsController(_dbContext);
            var result     = await controller.Details(1);

            Assert.NotNull(result);
        }
        public async Task DetailsNullInputTest()
        {
            var optionsBuilder = new DbContextOptionsBuilder <ApplicationDbContext>();

            optionsBuilder.UseInMemoryDatabase(databaseName: "db1");
            var _dbContext = new ApplicationDbContext(optionsBuilder.Options);

            var controller = new BudgetsController(_dbContext);
            var result     = await controller.Details(null);

            Assert.IsType <NotFoundResult>(result);
        }