/**
  * Create group V2
  *
  * @return \OpenOrchestra\GroupBundle\Document\Group
  */
 protected function createDemoGroup()
 {
     $nodePerimeter = $this->createPerimeter(NodeInterface::ENTITY_TYPE, array('root/fixture_page_legal_mentions', 'root/fixture_page_contact'));
     $nodeProfileCollection = $this->createProfileCollection(array('profile-Contributor'));
     $group = new Group('Demo group');
     $group->addLabel('en', 'Demo group');
     $group->addLabel('fr', 'Groupe de démo');
     $group->setSite($this->getReference('site2'));
     $group->addWorkflowProfileCollection(NodeInterface::ENTITY_TYPE, $nodeProfileCollection);
     $group->addPerimeter($nodePerimeter);
     return $group;
 }