@Test
public void testPerformRetentionExpirationDestruction() throws Exception
{

    // Create a local input CSV file.
    File inputCsvFile = createLocalInputCsvFile();
    // Create and initialize the registration server DTO.
    RegServerAccessParamsDto regServerAccessParamsDto =
        RegServerAccessParamsDto.builder().withRegServerHost(WEB_SERVICE_HOSTNAME).withRegServerPort(WEB_SERVICE_HTTPS_PORT).withUseSsl(true)
            .withUsername(WEB_SERVICE_HTTPS_USERNAME).withPassword(WEB_SERVICE_HTTPS_PASSWORD).withTrustSelfSignedCertificate(true)
            .withDisableHostnameVerification(true).build();
    // Perform the retention expiration destruction.
    retentionExpirationDestroyerController.performRetentionExpirationDestruction(inputCsvFile, regServerAccessParamsDto);
}