public function setUp()
{
$framework = $this->mockContaoFramework(null, null, ['Contao\\Encryption' => $this->mockEncryptionAdapter()]);
$connection = $this->getMock('Doctrine\\DBAL\\Connection', [], [], '', false);
$this->container = $this->mockContainerWithContaoScopes();
$this->container->set('contao.framework', $framework);
$this->container->set('database_connection', $connection);
$this->command = new UserPasswordCommand();
$this->command->setContainer($this->container);
$this->command->setApplication(new Application());
}