public function testSend()
{
// Build command
$setGroupAttributesCmd = new SetGroupAttributes($this->mockGroup);
// Set expected payload
$this->stubTransportSendRequestWithPayload((object) array('name' => 'Dummy!', 'lights' => array(3)));
// Change name and lights
$setGroupAttributesCmd->name('Dummy!')->lights(array(3))->send($this->mockClient);
}