AbstractViewElementTemplateTest

Base integration test class for testing the rendering of a ViewElement. Provides useful methods for rendering and inspecting the generated output.

Example ViewElement rendering test
public class TestNodeViewElement extends AbstractViewElementTemplateTest
{
	@Test
	public void simpleNodeWithoutContentOrAttributes() {
		NodeViewElement node = new NodeViewElement( "div" );

		renderAndExpect( node, "<div></div>" );
	}
}