Ejemplo n.º 1
0
 /**
  * Tests Backup::getName()
  */
 public function testGetNameFromSource()
 {
     $backup = new Backup('', false);
     $backup->setSource(new Backup\Source('mysqldump'));
     $this->assertEquals('mysqldump', $backup->getName());
 }