public async System.Threading.Tasks.Task testCartAddAsync() { var fakeRepository = Mock.Of <ICartsRepository>(); var cartService = new CartsService(fakeRepository); var cart = new Cart() { Id = "test" }; await cartService.AddAndSave(cart); }
public async System.Threading.Tasks.Task testCartAddAsync() { var fakeRepository = Mock.Of <ICartsRepository>(); var cartService = new CartsService(fakeRepository); var cart = new Cart() { Id = "test" }; await cartService.AddAndSave(cart); }