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

            mapping.AddComponent(new DynamicComponentMapping());

            writer.VerifyXml(mapping)
                .Element("dynamic-component").Exists();
        }
        public void ShouldWriteDynamicComponents()
        {
            var mapping = new DynamicComponentMapping();

            mapping.AddComponent(new DynamicComponentMapping());

            writer.VerifyXml(mapping)
            .Element("dynamic-component").Exists();
        }
Esempio n. 3
0
 public void ComponentsCollectionHasSameCountAsMapping()
 {
     mapping.AddComponent(new ComponentMapping());
     inspector.Components.Count().ShouldEqual(1);
 }