public function testSetDescription()
{
// Stub client's sendCommand method
$this->mockClient->expects($this->once())->method('sendCommand')->with($this->isInstanceOf('\\Phue\\Command\\SetScheduleAttributes'))->will($this->returnValue($this->schedule));
// Ensure setDescription returns self
$this->assertEquals($this->schedule, $this->schedule->setDescription('new description'));
// Ensure new description can be retrieved by getDescription
$this->assertEquals('new description', $this->schedule->getDescription());
}