public void Map(ClassMapping classMap)
        {
            foreach(var property in classMap.Type.GetProperties())
            {
                if (!classMap.HasMappedProperty(property))
                {
                    if (property.PropertyType.Namespace == "System")
                    {
                        var propMapping = new PropertyMapping {Name = property.Name};
                        propMapping.BindToMember(property);

                        classMap.AddProperty(propMapping);
                    }
                }
            }
        }
        public void Should_write_the_properties()
        {
            var classMapping = new ClassMapping();
            classMapping.AddProperty(new PropertyMapping());
            _mocker.Get<IHbmWriter<PropertyMapping>>()
                .Expect(x => x.Write(classMapping.Properties.First()))
                .Return(new HbmProperty());

            _classWriter.VerifyXml(classMapping)
                .Element("property").Exists();
        }