You are here

public function BlazyManagerUnitTest::testGetLightboxes in Blazy 8

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/BlazyManagerUnitTest.php \Drupal\Tests\blazy\Unit\BlazyManagerUnitTest::testGetLightboxes()

Tests cases for lightboxes.

@covers ::getLightboxes

File

tests/src/Unit/BlazyManagerUnitTest.php, line 229

Class

BlazyManagerUnitTest
@coversDefaultClass \Drupal\blazy\BlazyManager

Namespace

Drupal\Tests\blazy\Unit

Code

public function testGetLightboxes() {
  $lightboxes = $this->blazyManager
    ->getLightboxes();
  $this
    ->assertNotContains('nixbox', $lightboxes);
}