public function testSetIpAddress()
{
// Expect client's sendCommand usage
$this->mockClient->expects($this->once())->method('sendCommand')->with($this->isInstanceOf('\\Phue\\Command\\SetBridgeConfig'))->will($this->returnValue($this->bridge));
// Ensure setIpAddress returns self
$this->assertEquals($this->bridge, $this->bridge->setIpAddress('127.0.0.1'));
// Ensure new value can be retrieved by getIpAddress
$this->assertEquals('127.0.0.1', $this->bridge->getIpAddress());
}