public function testSendCommand()
{
// Mock command
$mockCommand = $this->getMock('Phue\\Command\\CommandInterface', array('send'));
// Stub command's send method
$mockCommand->expects($this->once())->method('send')->with($this->equalTo($this->client))->will($this->returnValue('sample response'));
$this->assertEquals('sample response', $this->client->sendCommand($mockCommand));
}