public void RetailersController_Edit_GET_isNotValid()
        {
            RetailersController controller = new RetailersController();

            HttpNotFoundResult result = controller.Edit(9999999) as HttpNotFoundResult;
            var expectedResult = new HttpNotFoundResult().GetType();

            Assert.IsInstanceOfType(result, expectedResult);
        }
        public void RetailersController_Edit_GET_isValid()
        {
            RetailersController controller = new RetailersController();

            ViewResult result = controller.Edit(1) as ViewResult;
            Retailer RetailersResult = (Retailer)result.Model;

            Assert.AreEqual(1, RetailersResult.retailerID);
        }