Home
Manage Your Code
Snippet: Unit test with RhinoMocks Record-Playback (C#)
Title: Unit test with RhinoMocks Record-Playback Language: C#
Description: Unit test with RhinoMocks Record-Playback Views: 209
Author: Carlos Lazaro Date Added: 4/30/2008
Copy Code  
1[Test]
2public void WriteYourTest()
3{
4	MockRepository mocks = new MockRepository();
5	using (mocks.Record())
6	{	                
7	}
8
9	using (mocks.Playback())
10	{
11	}
12}
13