function TwigMarkupInterfaceTest::testMarkupInterfaceEmpty

@dataProvider providerTestMarkupInterfaceEmpty

File

core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php, line 39

Class

TwigMarkupInterfaceTest
Tests Twig with MarkupInterface objects.

Namespace

Drupal\KernelTests\Core\Theme

Code

public function testMarkupInterfaceEmpty($expected, $variable) {
  $this->assertEquals($expected, $this->renderObjectWithTwig($variable));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.