public void CanWriteContentWithCategory() { content = new AdmContent(); content.AddCategory(new AdmCategory("category")); content.Write(writer); }
/// <summary> /// Initializes a new instance of the <see cref="AdmContentBuilder"/> class. /// </summary> /// <param name="content">The content that will be built.</param> protected AdmContentBuilder(AdmContent content) { this.content = content; this.categoriesStack = new Stack <AdmCategory>(); }
public void CanWriteEmptyContent() { content = new AdmContent(); content.Write(writer); }