예제 #1
0
 /// <summary>
 /// Sets up the moq repo afreash for each test.
 /// </summary>
 protected override void SetUpEachTest()
 {
     base.SetUpEachTest();
     MoqExtensions.SetEqualityComparer(new FieldValueEqualityComparer());
     FieldValueEqualityComparer.AddFieldValueEqualityComparer(new MoqFieldValueEqualityComparer());
     _mockRepository = new MockRepository(MockBehavior.Strict);
 }
예제 #2
0
 protected override void SetUpEachTest()
 {
     base.SetUpEachTest();
     FieldValueEqualityComparer.AddFieldValueEqualityComparer(new ProxyFieldValueEqualityComparer());
     FieldValueEqualityComparer.AddFieldValueTypeEqualityComparer(new ProxyFieldValueTypeEqualityComparer());
 }