public function testBrightnessSend($brightness)
{
// Build command
$command = new SetLightState($this->mockLight);
// Set expected payload
$this->stubTransportSendRequestWithPayload((object) array('bri' => $brightness));
// Ensure instance is returned
$this->assertEquals($command, $command->brightness($brightness));
// Send
$command->send($this->mockClient);
}