public function setUp()
{
// Mock client
$this->mockClient = $this->getMock('\\Phue\\Client', array('sendCommand'), array('127.0.0.1'));
// Build stub attributes
// $this->attributes = (object) [
// 'name' => 'Dummy group',
// 'action' => (object) [
// 'on' => false,
// 'bri' => '66',
// 'hue' => '60123',
// 'sat' => 213,
// 'xy' => [0.5, 0.4],
// 'ct' => 300,
// 'colormode' => 'hs',
// 'effect' => 'none',
// ],
// 'lights' => [2, 3, 5],
// 'type' => 'LightGroup',
// ];
$this->attributes = (object) array('name' => 'Dummy group', 'action' => (object) array('on' => false, 'bri' => '66', 'hue' => '60123', 'sat' => 213, 'xy' => array(0.5, 0.4), 'ct' => 300, 'colormode' => 'hs', 'effect' => 'none'), 'lights' => array(2, 3, 5), 'type' => 'LightGroup');
// Create group object
$this->group = new Group(6, $this->attributes, $this->mockClient);
}