import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import riskReporter.server.backup.BackupManager;
/**
* Created to Project REPOX
* User: Edmundo
* Date: 05-11-2012
* Time: 14:30
*/
public class TestBackup {
@Before
public void setUp() {
}
@After
public void tearDown(){
}
@Test
public void testSaveBackup() {
BackupManager backupManager = BackupManager.getINSTANCE();
backupManager.saveBackup();
}
@Test
public void testSaveManyBackups() {
BackupManager backupManager = BackupManager.getINSTANCE();
for(int i=0; i< 27 ; i++)
backupManager.saveBackup();
}
}