PHP Class Phue\Test\Command\SetGroupStateTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: sqmk/phue

Méthodes publiques

Méthode Description
setUp ( ) Set up
testGetActionableParams ( ) Test: Get actionable params
testSceneSend ( ) Test: Set scene
testSend ( ) Test: Send command

Méthodes protégées

Méthode Description
stubTransportSendRequestWithPayload ( stdClass $payload ) Stub transport's sendRequest with an expected payload

Method Details

setUp() public méthode

Set up
public setUp ( )

stubTransportSendRequestWithPayload() protected méthode

Stub transport's sendRequest with an expected payload
protected stubTransportSendRequestWithPayload ( stdClass $payload )
$payload stdClass Payload

testGetActionableParams() public méthode

Test: Get actionable params

testSceneSend() public méthode

Test: Set scene
public testSceneSend ( )

testSend() public méthode

Test: Send command
public testSend ( )