Skip to content

Commit

Permalink
Edit CsvPaginatedGeneratorConfiguration to CsvQueryBuilderGeneratorCo…
Browse files Browse the repository at this point in the history
…nfiguration
  • Loading branch information
Dumazeau committed Feb 23, 2021
1 parent f215d7f commit 3914853
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ public function testConfiguration(): void
$this->assertSame(';', $configuration->getDelimiter());
$this->assertTrue($configuration->isWithHeader());
$this->assertInstanceOf(\Generator::class, $configuration->getObjects());

$entities = [];

foreach ($configuration->getObjects() as $entity) {
$entities[] = $entity;
$this->assertInstanceOf(DummyEntity::class, $entity);
}

$this->assertCount(5, $entities);
}

private function buildQueryBuilder(): QueryBuilder
Expand Down

0 comments on commit 3914853

Please sign in to comment.