Exemplo n.º 1
0
 public function setup()
 {
     $this->migrationOutput = m::mock('Symfony\\Component\\Console\\Output\\OutputInterface')->shouldIgnoreMissing();
     $this->migrationDialogHelper = m::mock('Symfony\\Component\\Console\\Helper\\DialogHelper')->shouldIgnoreMissing();
     $this->migration = new Migration(1);
     $this->migration->setOutput($this->migrationOutput);
     $this->migration->setDialogHelper($this->migrationDialogHelper);
 }