Class WebTemplateLoaderUtil
java.lang.Object
net.officefloor.web.template.type.WebTemplateLoaderUtil
Utility class for testing the
WebTemplate.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SectionDesignerCreates theSectionDesignerto create the expected type.static voidvalidateWebTemplateType(SectionDesigner designer, WebTemplateType actualType) Validates theWebTemplateType.
-
Constructor Details
-
WebTemplateLoaderUtil
public WebTemplateLoaderUtil()
-
-
Method Details
-
createSectionDesigner
Creates theSectionDesignerto create the expected type.- Returns:
SectionDesigner.
-
validateWebTemplateType
Validates theWebTemplateType.- Parameters:
designer-SectionDesignercontaining the expected type.actualType- ActualWebTemplateTypeto validate.
-