public function testSend()
{
$command = new CreateScene('phue-test', 'Scene test', array(2, 3));
$command->transitionTime(5);
// Stub transport's sendRequest usage
$this->mockTransport->expects($this->once())->method('sendRequest')->with($this->equalTo("/api/{$this->mockClient->getUsername()}/scenes/phue-test"), $this->equalTo(TransportInterface::METHOD_PUT), $this->equalTo((object) array('name' => 'Scene test', 'lights' => array(2, 3), 'transitiontime' => 50)));
// Send command
$command->send($this->mockClient);
}