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