@Test
public void getLatestBackupMetadata() throws Exception {

    prepare();
    List<BackupMetadata> list =
            backupStatusMgr.getLatestBackupMetadata(
                    BackupVersion.SNAPSHOT_BACKUP,
                    new DateRange(backupDate + "," + "201812031000"));
    list.forEach(System.out::println);
}