\Test\IqrfNetModule\ResponsesApiResponseTest

Tests for JSON API response manager

Summary

Methods
Properties
Constants
__construct()
testSetRequestOk()
testSetRequestUserError()
testSetRequestTimeout()
testToArray()
testToJson()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\Test\IqrfNetModule\Responses\Container  container) : 

Constructor

Parameters

\Test\IqrfNetModule\Responses\Container container

Nette Tester Container

Returns

testSetRequestOk()

testSetRequestOk() : 

Test function to set the request (success)

Returns

testSetRequestUserError()

testSetRequestUserError() : 

Test function to set the request (user error)

Returns

testSetRequestTimeout()

testSetRequestTimeout() : 

Test function to set the request (timeout)

Returns

testToArray()

testToArray() : 

Test function to get the request as array

Returns

testToJson()

testToJson() : 

Test function to get the request as JSON string

Returns