[ [ 'content' => '', 'caption' => '
Nulla vitae elit libero, a pharetra augue mollis interdum.
', 'captionOptions' => [ 'class' => ['d-none', 'd-md-block'] ] ], [ 'content' => '', 'caption' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.
', 'captionOptions' => [ 'class' => ['d-none', 'd-md-block'] ] ], [ 'content' => '', 'caption' => 'Praesent commodo cursus magna, vel scelerisque nisl consectetur.
', 'captionOptions' => [ 'class' => ['d-none', 'd-md-block'] ] ] ] ]); $expected = <<Nulla vitae elit libero, a pharetra augue mollis interdum.
', 'captionOptions' => [ 'class' => ['d-none', 'd-md-block'] ] ], [ 'content' => '', 'caption' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.
', 'captionOptions' => [ 'class' => ['d-none', 'd-md-block'] ] ], [ 'content' => '', 'caption' => 'Praesent commodo cursus magna, vel scelerisque nisl consectetur.
', 'captionOptions' => [ 'class' => ['d-none', 'd-md-block'] ] ] ] ]); $this->assertStringContainsString('class="carousel slide carousel-fade"', $out); } }