diff --git a/src/Document.php b/src/Document.php index ed160a3..1e66fbc 100644 --- a/src/Document.php +++ b/src/Document.php @@ -35,6 +35,16 @@ abstract class Document ); } + /** + * @param array $content + */ + public function assertHasAllContent(array $content): void + { + foreach ($content as $test) { + $this->assertHasContent($test); + } + } + public function hasContent(string $content): bool { return str_contains($this->renderBody(), $content);