public void ShouldWriteAnys() { var mapping = new DynamicComponentMapping(); mapping.AddAny(new AnyMapping()); writer.VerifyXml(mapping) .Element("any").Exists(); }
public void AnysCollectionHasSameCountAsMapping() { mapping.AddAny(new AnyMapping()); inspector.Anys.Count().ShouldEqual(1); }