getClient()->getKernel()); $application->add(new ListUserCommand()); $command = $application->find('wallabag:user:list'); $tester = new CommandTester($command); $tester->execute([ 'command' => $command->getName(), ]); $this->assertContains('3 user(s) displayed.', $tester->getDisplay()); } }