false, 'bodyOptions' => [ 'class' => 'offcanvas-body test', 'style' => [ 'text-align' => 'center', ], ], ]); $expected = <<
Woohoo, you\'re reading this text in an offcanvas!
'; Offcanvas::end(); $out = ob_get_clean(); $expected = <<Woohoo, you're reading this text in an offcanvas!
Woohoo, you\'re reading this text in an offcanvas!
'; Offcanvas::end(); $out = ob_get_clean(); $this->assertStringContainsString( '', $out, ); } }