Phue\Test\Command\CreateSensorTest::testStateAttribute PHP Method

testStateAttribute() public method

Test: Set state attribute
public testStateAttribute ( )
    public function testStateAttribute()
    {
        $command = new CreateSensor();
        $this->assertEquals($command, $command->stateAttribute('key', 'value'));
    }