Castle.MonoRail.Framework.Tests.ViewComponents.DiggStylePaginationTestCase.PageWithNoLinksPrintsNoLinks C# (CSharp) Method

PageWithNoLinksPrintsNoLinks() private method

private PageWithNoLinksPrintsNoLinks ( ) : void
return void
		public void PageWithNoLinksPrintsNoLinks()
		{
			SectionRender["startblock"] = delegate(IDictionary context, TextWriter writer) { writer.Write("started"); };
			SectionRender["endblock"] = delegate(IDictionary context, TextWriter writer) { writer.Write("ended"); };

			diggComponent.UseInlineStyle = false;
			diggComponent.Page = singlePage;
			PrepareViewComponent(diggComponent);
			diggComponent.Render();

			Assert.AreEqual("started<span class=\"disabled\">&laquo; prev</span>\r\n" + 
				"<span class=\"current\">1</span>\r\n" +
				"<span class=\"disabled\">next &raquo;</span>ended", Output);
		}