NSubstitute.Exceptions.CallNotReceivedException: Expected to receive call:
PromptForYesNo("Sums insured business interruption period is 653 month(s) longer than fire indemnity period.", any String)
Actually received (non-matching arguments indicated with '*' characters):
PromptForYesNo(*"Sums insured business interruption period is 653 month(s) longer than fire indemnity period.
"*, "Do you want to save?")
有人能看出问题所在吗? 对我来说,字符串看起来是相同的,它们来自同一个对象属性。
我很感激为什么会失败的一些信息,谢谢。
答案 0 :(得分:0)
有一个我没注意到的换行符。