protected function EntityPagerAnalyzerTest::setUp in Entity Pager 8
Same name and namespace in other branches
- 2.0.x tests/src/Unit/EntityPagerAnalyzerTest.php \Drupal\Tests\entity_pager\Unit\EntityPagerAnalyzerTest::setUp()
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ EntityPagerAnalyzerTest.php, line 38
Class
- EntityPagerAnalyzerTest
- @coversDefaultClass \Drupal\entity_pager\EntityPagerAnalyzer @group entity_pager
Namespace
Drupal\Tests\entity_pager\UnitCode
protected function setUp() {
$this->entityPager = $this
->createMock(EntityPagerInterface::class);
for ($i = 0; $i < random_int(3, 6); $i++) {
$this->logs[] = $this
->randomMachineName();
}
}