Exemple #1
0
        public void add_a_closed_writer_with_conditional()
        {
            var writer = new SpecialWriter();
            var node   = new OutputNode(typeof(Address));

            node.Add(writer);

            node.Explicits.Single().ShouldBeTheSameAs(writer);
        }
Exemple #2
0
        public void add_a_closed_writer_happy_path()
        {
            var writer = new SpecialWriter();
            var node   = new OutputNode(typeof(Address));

            node.Add(writer);

            var media = node.Explicits.Single().ShouldBeTheSameAs(writer);
        }