示例#1
0
 public void AddProductEmptyName()
 {
     presenter.AddProduct(string.Empty);
     mockDialogHelper.Verify(dialogHelper => dialogHelper.ShowWarning(It.IsAny <string>(), It.IsAny <string>()), "Warning not shown when empty product name typed.");
 }