You are here

public function RealisticDummyContentTest::testSequential in Realistic Dummy Content 8

File

api/tests/src/Unit/facade/RealisticDummyContentTest.php, line 44
Define autoload class.

Class

RealisticDummyContentTest
Test Realistic dummy content.

Namespace

Drupal\Tests\realistic_dummy_content_api\Unit\facade

Code

public function testSequential() {
  $this
    ->assertSequential(0, 3, 'a', 0);
  $this
    ->assertSequential(0, 3, 'a', 0);
  $this
    ->assertSequential(0, 3, 'b', 1);
  $this
    ->assertSequential(0, 3, 'b', 1);
  $this
    ->assertSequential(0, 3, 'c', 2);
  $this
    ->assertSequential(0, 3, 'c', 2);
  $this
    ->assertSequential(0, 3, 'd', 3);
  $this
    ->assertSequential(0, 2, 'd', 2);
  $this
    ->assertSequential(10, 13, 'd', 10);
  $this
    ->assertSequential(11, 12, 'd', 11);
}