private void validateIncrementalBackupScript(final BackupInspector inspector) {
    // verify copyFrom
    assertThat(inspector.getCopyFromForOplogFile(CRF_FILE_NAME))
        .isEqualTo(fullBackupDir.getAbsolutePath() + File.separator + CRF_FILE_NAME);
    assertThat(inspector.getCopyFromForOplogFile(DRF_FILE_NAME))
        .isEqualTo(fullBackupDir.getAbsolutePath() + File.separator + DRF_FILE_NAME);

    // verify copyTo
    assertThat(inspector.getCopyToForOplogFile(CRF_FILE_NAME))
        .isEqualTo(diskDir.getAbsolutePath() + File.separator + CRF_FILE_NAME);
    assertThat(inspector.getCopyToForOplogFile(DRF_FILE_NAME))
        .isEqualTo(diskDir.getAbsolutePath() + File.separator + DRF_FILE_NAME);
  }
Tests copy lines for an incremental backup.

@param inspector a BackupInspector.
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/backup/BackupInspectorIntegrationTest.java