From 83aaa0500ea1f3e36d5e68254a87acc77d0f1157 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Sat, 15 Feb 2025 15:31:38 +0100 Subject: [PATCH] [TASK] Add one more unit test for `Document` Part of #757 --- tests/Unit/CSSList/DocumentTest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/Unit/CSSList/DocumentTest.php b/tests/Unit/CSSList/DocumentTest.php index 7b6a3df9c..baec691b7 100644 --- a/tests/Unit/CSSList/DocumentTest.php +++ b/tests/Unit/CSSList/DocumentTest.php @@ -237,4 +237,14 @@ public function getAllDeclarationBlocksIgnoresCharset(): void self::assertSame([], $result); } + + /** + * @test + */ + public function isRootListAlwaysReturnsTrue(): void + { + $subject = new Document(); + + self::assertTrue($subject->isRootList()); + } }