public function testCustomPasswordLength()
{
$framework = $this->mockContaoFramework(null, null, ['Contao\\Config' => $this->mockConfigAdapter(16), 'Contao\\Encryption' => $this->mockEncryptionAdapter()]);
$container = $this->mockContainerWithContaoScopes();
$container->set('contao.framework', $framework);
$command = new UserPasswordCommand();
$command->setContainer($container);
$command->setApplication(new Application());
(new CommandTester($command))->execute(['username' => 'foobar', '--password' => '123456789'], ['interactive' => false]);
}