ApiRestTestHelper Class Reference

Static Public Member Functions

static createApiCall ($url, $method, $headers, $data=array())
static createXmlApiCall ($url, $method, $headers, $data=array())
static getModelAttributes (RedBeanModel $model)

Detailed Description

REST API helper class.

Definition at line 39 of file ApiRestTestHelper.php.


Member Function Documentation

static getModelAttributes ( RedBeanModel model  )  [static]

Helper function to get all model attributes as an array, that we can compare with responses from API.

Parameters:
OwnedSecurableItem $model
Returns:
array

Definition at line 58 of file ApiRestTestHelper.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Mar 26 07:10:21 2017