public function testPrepareDecryptAll()
 {
     /** @var \Symfony\Component\Console\Input\InputInterface $input */
     $input = $this->getMock('Symfony\\Component\\Console\\Input\\InputInterface');
     /** @var \Symfony\Component\Console\Output\OutputInterface $output */
     $output = $this->getMock('Symfony\\Component\\Console\\Output\\OutputInterface');
     $this->decryptAllMock->expects($this->once())->method('prepare')->with($input, $output, 'user');
     $this->instance->prepareDecryptAll($input, $output, 'user');
 }
Exemple #2
0
 /**
  * prepare module to perform decrypt all operation
  *
  * @param InputInterface $input
  * @param OutputInterface $output
  * @param string $user
  * @return bool
  */
 public function prepareDecryptAll(InputInterface $input, OutputInterface $output, $user = '')
 {
     return $this->decryptAll->prepare($input, $output, $user);
 }