/**
  * @covers ::getVersion
  */
 public function testGetVersion()
 {
     $migrations = $this->getMigrations();
     $this->createTestMigrations($migrations);
     $app = new PhpmigApplication($this->getContainer($this->getAdapter(array($this->current_version)), $migrations, $this->getTempDir()), $this->output);
     $this->assertEquals($this->current_version, $app->getVersion());
     $app = new PhpmigApplication($this->getContainer($this->getAdapter(), array(), $this->getTempDir()), $this->output);
     $this->assertEquals(0, $app->getVersion());
 }