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