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

            mapping.AddProperty(new PropertyMapping());

            writer.VerifyXml(mapping)
            .Element("property").Exists();
        }
        public void ShouldWriteProperties()
        {
            var mapping = new DynamicComponentMapping();

            mapping.AddProperty(new PropertyMapping());

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