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); }
public void GetReturnsBrand() { BrandsController brandsController = new BrandsController(); var result = brandsController.Details(1); }