SchemaOrgTest
extends TestCase
in package
SchemaOrg View Helper Test Class
Tags
Table of Contents
- getHelper() : SchemaOrg
- Get a helper to test.
- testDisabled() : void
- Test that the helper outputs nothing if disabled.
- testEnabled() : void
- Test that the helper outputs content if enabled.
Methods
getHelper()
Get a helper to test.
public
getHelper(bool $enabled) : SchemaOrg
Parameters
- $enabled : bool
-
Should schema.org be enabled in the helper?
Return values
SchemaOrg —testDisabled()
Test that the helper outputs nothing if disabled.
public
testDisabled() : void
Return values
void —testEnabled()
Test that the helper outputs content if enabled.
public
testEnabled() : void