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?")
任何人都可以看到问题是什么?对我来说,这些字符串看起来是一样的,它们来自同一个对象属性。
我会很感激一些关于为什么失败的信息,谢谢。