Ntb\RestAPI\NestedResourceRestControllerTest
- Author: Christian Blank <c.blank@notthatbad.net>
Synopsis
class NestedResourceRestControllerTest
extends RestTest
{
- // Inherited members from RestTest
- protected string $namespace;
- protected string $sessionRoute;
- // methods
- public void setUp()
- public void testControllerGET()
- public void testNotProvidedID()
- public void testControllerDELETE()
- // Inherited methods from RestTest
- public void setUp()
- protected array makeApiRequest()
- protected array createSession()
Hierarchy
Extends
Members
protected
- $namespace
—
string
The namespace of your api. - $sessionRoute
—
string
The route to the session without the namespace.
Methods
public
Inherited from Ntb\RestAPI\RestTest
protected
- createSession() — Creates a session for the api.
- makeApiRequest() — Perform an api request with the given options