public void BrewariesApiController_Edit()
        {
            BreweriesApiController controller = new BreweriesApiController(new FakeRepositories.FakeBrewaryRepository());

            Brewery brew = new Brewery()
            {
                Name      = "Molson",
                Address   = "Toronto",
                YTDSales  = 5030,
                BreweryId = 7
            };

            System.Web.Http.Results.CreatedAtRouteNegotiatedContentResult <Brewery> result = controller.PostBrewery(brew) as System.Web.Http.Results.CreatedAtRouteNegotiatedContentResult <Brewery>;
            IHttpActionResult edit = controller.PutBrewery(10, brew) as IHttpActionResult;

            Assert.IsNotNull(result);
            Assert.IsNotNull(edit);
        }
        public void BrewariesApiController_Delete()
        {
            BreweriesApiController controller = new BreweriesApiController(new FakeRepositories.FakeBrewaryRepository());

            Brewery brew = new Brewery()
            {
                Name      = "Molson",
                Address   = "Toronto",
                YTDSales  = 5030,
                BreweryId = 7
            };

            System.Web.Http.Results.CreatedAtRouteNegotiatedContentResult <Brewery> result = controller.PostBrewery(brew) as System.Web.Http.Results.CreatedAtRouteNegotiatedContentResult <Brewery>;

            OkNegotiatedContentResult <Brewery> deleteResult = controller.DeleteBrewery(7) as OkNegotiatedContentResult <Brewery>;

            Assert.IsNotNull(result);
            Assert.IsNotNull(deleteResult);
        }