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

            mapping.AddAny(new AnyMapping());

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

            mapping.AddAny(new AnyMapping());

            writer.VerifyXml(mapping)
            .Element("any").Exists();
        }
예제 #3
0
 public void AnysCollectionHasSameCountAsMapping()
 {
     mapping.AddAny(new AnyMapping());
     inspector.Anys.Count().ShouldEqual(1);
 }