我不能在我的生活中找到使用Rhino中的Fluent/AAA語法來驗證操作順序的正確語法。相當於在Rhino Mocks中使用Ordered()的AAA語法是什麼
我知道如何與老同學記錄/回放語法做到這一點:
MockRepository repository = new MockRepository();
using (repository.Ordered())
{
// set some ordered expectations
}
using (repository.Playback())
{
// test
}
誰能告訴我,相當於這AAA語法犀牛製品將是什麼。更好的是,如果你能指出我的一些文件。
謝謝,這似乎是我所需要的。 – mockobject 2009-04-21 19:03:18