public void ValidatableElementTest()
 {
     ClassValidator cv = new ClassValidator(typeof(Address));
     ValidatableElement ve = new ValidatableElement(typeof(Address), cv);
     Assert.AreEqual(ve.EntityType, typeof(Address));
     Assert.IsTrue(ReferenceEquals(cv, ve.Validator));
     Assert.IsNull(ve.Getter);
     Assert.IsFalse(ve.SubElements.GetEnumerator().MoveNext());
     Assert.IsTrue(ve.Equals(new ValidatableElement(typeof(Address), new ClassValidator(typeof(Address)))));
     Assert.IsFalse(ve.Equals(5)); // any other obj
     Assert.AreEqual(ve.GetHashCode(),
                                     (new ValidatableElement(typeof(Address), new ClassValidator(typeof(Address)))).GetHashCode());
 }