public void Members()
 {
     XmlClassMapping rm = new XmlClassMapping(GetNhvClassFor(typeof(Address)));
     List<MemberInfo> mi = new List<MemberInfo>(rm.GetMembers());
     Assert.AreEqual(8, mi.Count);
 }
 public void InvalidPropertyName()
 {
     var map = new XmlClassMapping(GetNhvClassFor(typeof(A)));
     Assert.Throws<InvalidPropertyNameException>(() => map.GetMembers());
 }