/** @test */
public function it_opens_a_dialog_to_select_the_entity_and_count_if_no_entity_given()
{
/** @var SymfonyQuestionHelper $question */
$question = $this->command->getHelper('question');
$question->setInputStream($this->getInputStream("1\n5\n"));
$this->commandTester->execute(['command' => $this->command->getName()]);
$count = $this->getDatabaseCount(App::class, []);
$this->assertEquals(5, $count);
$this->assertContains(sprintf('%s seeded.', App::class), $this->commandTester->getDisplay());
}