\ReflectionProxyTest
This unit tests uses the ReflexionProxy class to perform a request and evaluate the response.
Synopsis
class ReflectionProxyTest
extends FunctionalTest
implements
TestOnly
{
- // members
- public static boolean $use_draft_site = true;
- // methods
- public void testAccessReflectionProxy()
- public void testReflection()
- public void testReflection_PermissionDeny()
Hierarchy
Extends
- FunctionalTest
Implements
- TestOnly
Members
public
- $use_draft_site
Methods
public
- testAccessReflectionProxy() — Test the index method of the ReflectionProxy.
- testReflection() — Test the reflextion method which should return the request as a json object.
- testReflection_PermissionDeny() — Test the reflextion method which should deny access.