diff --git a/core/modules/simpletest/tests/src/Unit/AssertContentTraitTest.php b/core/modules/simpletest/tests/src/Unit/AssertContentTraitTest.php index ee910d8..505a3b9 100644 --- a/core/modules/simpletest/tests/src/Unit/AssertContentTraitTest.php +++ b/core/modules/simpletest/tests/src/Unit/AssertContentTraitTest.php @@ -16,6 +16,9 @@ */ class AssertContentTraitTest extends UnitTestCase { + /** + * @covers ::getTextContent + */ public function testGetTextContent() { $test = new TestClass(); $raw_content = <<_setRawContent($raw_content); $this->assertNotContains('foo', $test->_getTextContent()); + $this->assertNotContains('', $test->_getTextContent()); $this->assertContains('bar', $test->_getTextContent()); }