public function testCheckForUpdate()
{
// Expect client's sendCommand usage
$this->mockClient->expects($this->once())->method('sendCommand')->with($this->isInstanceOf('\\Phue\\Command\\SetBridgeConfig'));
// Ensure checkForUpdate returns self
$this->assertEquals($this->softwareUpdate, $this->softwareUpdate->checkForUpdate());
// Ensure new value can be retrieved by checkingForUpdate
$this->assertEquals(true, $this->softwareUpdate->checkingForUpdate());
}