assertStringContainsString('.section-bg-'.$surface, $css, 'Die Fläche „'.$surface.'“ fehlt in den Regeln.'); } $this->assertMatchesRegularExpression('/\.section-bg-width-section\.section-space-bottom-none:has\(\+ :is\([^)]*\)\.section-space-top-none\)\s*\{[^}]*margin-bottom:\s*0;/', $css, 'Unterseite der oberen Fläche'); $this->assertMatchesRegularExpression('/\.section-space-bottom-none \+ \.section-bg-width-section\.section-space-top-none\s*\{[^}]*margin-top:\s*0;/', $css, 'Oberseite der unteren Fläche'); } }