예제 #1
0
        public void GetReturnsBrand()
        {
            var controller = new BrandsController();
            var mock       = new Mock <CarContext>();

            mock.Setup(p => p.Brands.Find(1));
            BrandsController brandsController = new BrandsController();
            var result = brandsController.Details(1);
        }
예제 #2
0
 public void GetReturnsBrand()
 {
     BrandsController brandsController = new BrandsController();
     var result = brandsController.Details(1);
 }