You are here

public function BlazyManagerUnitTest::providerTestCleanUpBreakpoints in Blazy 8

Provider for ::testCleanUpBreakpoints().

File

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

Class

BlazyManagerUnitTest
@coversDefaultClass \Drupal\blazy\BlazyManager

Namespace

Drupal\Tests\blazy\Unit

Code

public function providerTestCleanUpBreakpoints() {
  return [
    'empty' => [
      [],
      [],
      FALSE,
      FALSE,
    ],
    'not so empty' => [
      $this
        ->getEmptyBreakpoints(),
      [],
      FALSE,
      FALSE,
    ],
    'mixed empty' => [
      $this
        ->getDataBreakpoints(),
      $this
        ->getDataBreakpoints(TRUE),
      FALSE,
      TRUE,
    ],
    'mixed empty blazy enabled first' => [
      $this
        ->getDataBreakpoints(),
      $this
        ->getDataBreakpoints(TRUE),
      FALSE,
      TRUE,
    ],
  ];
}