public void WhenSetWrongProxyThenThrow()
 {
     var mapdoc = new HbmMapping();
     var rc = new ClassMapper(typeof(EntityProxable), mapdoc, ForClass<EntityProxable>.Property(x => x.Id));
     rc.Executing(m => m.Proxy(typeof(IAnotherInterface))).Throws<MappingException>();
 }