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