public void ReturnFalse_WhenIdIsIncorrect()
        {
            var options = Utils.GetOptions(nameof(ReturnFalse_WhenIdIsIncorrect));
            var brewery = TestsModelsSeeder.SeedBrewery();

            using (var arrangeContext = new BeerOverflowContext(options))
            {
                arrangeContext.Breweries.Add(brewery);
                arrangeContext.SaveChanges();
            }

            using (var assertContext = new BeerOverflowContext(options))
            {
                var sut    = new BreweryServices(assertContext);
                var result = sut.DeleteBrewery(brewery.Id + 1);
                Assert.IsFalse(result);
            }
        }
        public void DeleteBrewery_WhenIdIsCorrect()
        {
            var options = Utils.GetOptions(nameof(DeleteBrewery_WhenIdIsCorrect));
            var brewery = TestsModelsSeeder.SeedBrewery();

            using (var arrangeContext = new BeerOverflowContext(options))
            {
                arrangeContext.Breweries.Add(brewery);
                arrangeContext.SaveChanges();
            }

            using (var assertContext = new BeerOverflowContext(options))
            {
                var sut    = new BreweryServices(assertContext);
                var act    = sut.DeleteBrewery(brewery.Id);
                var result = assertContext.Breweries.FirstOrDefault(b => b.Name == brewery.Name);
                Assert.IsTrue(result.IsDeleted);
            }
        }