1
在specs2,我可以通過驗證方法的調用次數:如何驗證方法在specs2中被完全稱爲N次?
there was one(user).getName
there were two(user).getName
there were three(user).getName
但如何檢查N次?這是我正在尋找的是這樣的:
there were times(n, user).getName
不幸沒有這樣的API