TesterContainerResponce cres =
makeGetRequest(new URI(HTTP_BACKUP_AGENT_PATH + HTTPBackupAgent.Constants.OperationType.BACKUP_SERVICE_INFO));
assertEquals(200, cres.getStatus());
BackupServiceInfoBean info =
(BackupServiceInfoBean)getObject(BackupServiceInfoBean.class, cres.responseWriter.getBody());
BackupManager backupManager = (BackupManager)container.getComponentInstanceOfType(BackupManager.class);
assertNotNull(info);
assertEquals(backupManager.getBackupDirectory().getAbsolutePath(), info.getBackupLogDir());
assertEquals(backupManager.getFullBackupType(), info.getFullBackupType());
assertEquals(backupManager.getIncrementalBackupType(), info.getIncrementalBackupType());
assertEquals(backupManager.getDefaultIncrementalJobPeriod(), info.getDefaultIncrementalJobPeriod().longValue());
}