示例#1
0
 public TestBase()
 {
     this.mockRepository    = new MockRepository(MockBehavior.Loose);
     this.AutoMockContainer = new UnityAutoMockContainer(this.mockRepository);
 }
示例#2
0
 protected TestBase()
 {
     _mockRepository   = new MockRepository(MockBehavior.Loose);
     AutoMockContainer = new UnityAutoMockContainer(_mockRepository);
 }
示例#3
0
 /// <summary>
 /// Constructor
 /// </summary>
 protected TestBase()
 {
     _rand             = new Random(Environment.TickCount);
     _mockRepository   = new MockRepository(MockBehavior.Loose);
     AutoMockContainer = new UnityAutoMockContainer(_mockRepository);
 }