diff --git a/tests/MarkupAssertionsTraitTest.php b/tests/MarkupAssertionsTraitTest.php
index <HASH>..<HASH> 100644
--- a/tests/MarkupAssertionsTraitTest.php
+++ b/tests/MarkupAssertionsTraitTest.php
@@ -105,6 +105,15 @@ class MarkupAssertionsTraitTest extends TestCase
         );
     }
 
+    public function testAssertElementContainsMultipleSelectors()
+    {
+        $this->testcase->assertElementContains(
+            'ipsum',
+            '#main .foo',
+            '<div id="main"><span class="foo">Lorem ipsum</span></div>'
+        );
+    }
+
     public function testAssertElementContainsScopesToSelector()
     {
         $this->expectException(AssertionFailedError::class);
Add another selector test to see if #<I> impacts that as well (it doesn't)