| Constructor and Description |
|---|
RenderPageAction(BindingContext context,
int statusCode,
String textPresent,
String textNotPresent)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected MockHttpServletResponse |
createResponse()
Creates the mocked response.
|
String |
doAction(org.apache.sling.api.resource.Resource resource)
Runs an action.
|
public RenderPageAction(BindingContext context, int statusCode, String textPresent, String textNotPresent)
context - binding contextstatusCode - expected status codetextPresent - text that must be presenttextNotPresent - text that must not be presentpublic String doAction(org.apache.sling.api.resource.Resource resource) throws org.apache.sling.api.resource.PersistenceException, de.valtech.aecu.api.service.AecuException
Actionprotected MockHttpServletResponse createResponse()
Copyright © 2019. All rights reserved.