public void TestWorks() { service.Expect(x => x.Func1()); service.Expect(x => x.Func2()); service.Expect(x => x.Func3()); service.Func2(); service.Func1(); service.Func3(); }
public void TestWorks() { using (mocks.Ordered()) { using (mocks.Unordered()) { service.Func1(); service.Func2(); } service.Func3(); } mocks.ReplayAll(); service.Func2(); service.Func1(); service.Func3(); }