【发布时间】:2017-01-12 17:19:51
【问题描述】:
我在我的移动服务应用程序中使用 MSpec。我想验证当传入的参数为空时是否调用了自定义记录器上的方法。这可能吗?
代码
if (someOrg == null || target == null) {
AppUtils.LogInfo(">>>>> +++ Utils-GetAsNeededItems - Null input");
return null;
}
【问题讨论】:
标签: c# testing bdd assertions mspec