HelpTopicTwig example

'top_level' => TRUE,
    'related' => ['something'],
    'body' => '<p>This is the topic body</p>',
  ];

  /** * {@inheritdoc} */
  protected function setUp(): void {
    parent::setUp();

    $this->helpTopic = new HelpTopicTwig([],
      self::PLUGIN_INFORMATION['id'],
      self::PLUGIN_INFORMATION,
      $this->getTwigMock());
  }

  /** * @covers ::getBody * @covers ::getLabel */
  public function testText() {
    $this->assertEquals($this->helpTopic->getBody(),
      [
Home | Imprint | This part of the site doesn't use cookies.