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