Esempio n. 1
0
 public void test()
 {
     myShoopingListAdapter.GetItemsForShoppingList(Arg.Any <Guid>()).Returns(GetShoppingListItems());
     myProductAdapter.GetProductById(Arg.Any <Guid>()).Returns(myProduct);
     myShoopingListAdapter.GetInfoItemsForShoppingListItem(Arg.Any <Guid>()).Returns(GetInfoItems());
     var result = myService.GetShoppingListShopItems(Guid.NewGuid());
 }