/**
  * @param Statement[] $statements
  *
  * @return string HTML
  */
 private function getHtmlForStatementGroupView(array $statements)
 {
     $propertyId = $statements[0]->getMainSnak()->getPropertyId();
     $addStatementHtml = $this->editSectionGenerator->getAddStatementToGroupSection($propertyId);
     return $this->templateFactory->render('wikibase-statementgroupview', $this->propertyIdFormatter->formatEntityId($propertyId), $this->getHtmlForStatementListView($statements, $addStatementHtml), $propertyId->getSerialization());
 }