/** * @return void */ public function testDeleteBackup() { $this->pdoMysql->expects($this->once())->method('isTableExists')->willReturn(true); $this->pdoMysql->expects($this->once())->method('dropTable')->with('migration_backup_document_name'); $this->adapterMysql->deleteBackup('document_name'); }