Format:
Recent snippets matching tags of NMock
/************************************************************/ /* Set expectations for a method to be called only once */ /************************************************************/ // NMock: Expect.Once.On(mockLookupList).Method("Clear"); // Rhino Mocks mockLookupList.Expect(x => x.Clear()).Repeat.Once(); /************************************************************/
188 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
