public function testName() { $command = new UpdateSensorState('4'); $this->assertEquals($command, $command->stateAttribute('key', 'value')); }