public void ChildCanBeDrawingMl()
        {
            var drawingMl = new DrawingMlProxy("name");

            this.testee.Add(drawingMl);

            this.testee.Children.Should().Contain(drawingMl);
        }
        public override void VisitDrawingMlStart(DrawingMlProxy drawingMl)
        {
            this.builder
                .AppendFormat("<DrawingMl {0}>", FormatAttributes(new NamedValue("Name", drawingMl.Name)))
                .AppendLine();

            if (this.displayOptions.IncludeImages)
            {
                this.builder
                    .AppendFormat("<Image>{0}{1}{0}</Image>", Environment.NewLine, drawingMl.Image);
            }
        }
 public override void VisitDrawingMlEnd(DrawingMlProxy drawingMl)
 {
     this.builder.AppendLine("</DrawingMl>");
 }
 public DrawingMlProxyFacts()
 {
     this.testee = new DrawingMlProxy(Name);
 }