Example #1
0
        public void ClearAll()
        {
            var node = new OutputNode(typeof(Address));

            node.UsesFormatter <XmlFormatter>();
            node.UsesFormatter <JsonFormatter>();

            node.ClearAll();

            node.Writers.Any().ShouldBeFalse();
        }
Example #2
0
        public void ClearAll()
        {
            var node = new OutputNode(typeof(Address));

            node.Add(new XmlFormatter());
            node.Add(new NewtonsoftJsonFormatter());

            node.ClearAll();

            node.Explicits.Any().ShouldBeFalse();
        }
Example #3
0
        public void ClearAll()
        {
            var node = new OutputNode(typeof (Address));
            node.UsesFormatter<XmlFormatter>();
            node.UsesFormatter<JsonFormatter>();

            node.ClearAll();

            node.Writers.Any().ShouldBeFalse();
        }