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