/**
  * @internal should only be used for testing
  */
 public function AddGroup()
 {
     $groupName = $this->page->GetGroupName();
     $parentId = $this->page->GetParentId();
     Log::Debug('Adding new resource group. GroupName=%s, ParentId=%s', $groupName, $parentId);
     $addedGroup = $this->resourceRepository->AddResourceGroup(ResourceGroup::Create($groupName, $parentId));
     $this->page->BindNewGroup($addedGroup);
 }