public void ShouldWriteProperties()
        {
            var mapping = new ComponentMapping();

            mapping.AddProperty(new PropertyMapping());

            writer.VerifyXml(mapping)
            .Element("property").Exists();
        }
 public void PropertiesCollectionHasSameCountAsMapping()
 {
     mapping.AddProperty(new PropertyMapping());
     inspector.Properties.Count().ShouldEqual(1);
 }