/// <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); }
protected override void SetUpEachTest() { base.SetUpEachTest(); FieldValueEqualityComparer.AddFieldValueEqualityComparer(new ProxyFieldValueEqualityComparer()); FieldValueEqualityComparer.AddFieldValueTypeEqualityComparer(new ProxyFieldValueTypeEqualityComparer()); }