public void ChildCanBeBookmarkStart() { var bookmarkStart = new BookmarkStartProxy("name"); this.testee.Add(bookmarkStart); this.testee.Children.Should().Contain(bookmarkStart); }
public override void VisitBookmarkStart(BookmarkStartProxy bookmarkStart) { this.builder.AppendFormat("<BookmarkStart {0} />", FormatAttributes(new NamedValue("Name", bookmarkStart.Name))) .AppendLine(); }
public BookmarkStartProxyFacts() { this.testee = new BookmarkStartProxy(Name); }