0
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?")

任何人都可以看到问题是什么?对我来说,这些字符串看起来是一样的,它们来自同一个对象属性。

我会很感激一些关于为什么失败的信息,谢谢。

4

1 回答 1

0

有一个我没有注意到的换行符。

于 2011-10-12T07:50:26.260 回答