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