protected void AssertAreEquivalent <TOther>(TOther o1, TOther o2) where TOther : class { NhAssert.AssertAreEquivalent(o1, o2, EquivalenceComparer.For <TOther>()); }
protected void VerifyIsEquivalentToObjectInDatabase <TOther>(TOther entity) where TOther : class { NhAssert.VerifyIsEquivalentToObjectInDatabase(entity, EquivalenceComparer.For <TOther>()); }
protected void AssertAreEquivalent(T o1, T o2) { NhAssert.AssertAreEquivalent(o1, o2, _comparer); }
protected void VerifyIsEquivalentToObjectInDatabase(T entity) { NhAssert.VerifyIsEquivalentToObjectInDatabase(entity, _comparer); }