public async System.Threading.Tasks.Task testItemsAddAsync() { var fakeRepository = Mock.Of <IItemsRepository>(); var itemsService = new ItemsService(fakeRepository); var items = new Item() { Id = "test" }; await itemsService.AddAndSave(items); }
public async System.Threading.Tasks.Task testItemsAddAsync() { var fakeRepository = Mock.Of <IItemsRepository>(); var itemsService = new ItemsService(fakeRepository); var items = new Item() { Id = "test" }; await itemsService.AddAndSave(items); }