public function setUp()
{
// Mock client
$this->mockClient = $this->getMock('\\Phue\\Client', array('sendCommand'), array('127.0.0.1'));
// Build stub attributes
// $this->attributes = (object) [
// 'signedon' => true,
// 'incoming' => false,
// 'outgoing' => true,
// 'communication' => 'disconnected'
// ];
$this->attributes = (object) array('signedon' => true, 'incoming' => false, 'outgoing' => true, 'communication' => 'disconnected');
// Create portal object
$this->portal = new Portal($this->attributes, $this->mockClient);
}