@Test
public void testGetBusinessObjectDataKeysMissingCsvHeader() throws IOException
{

    // Create an input CSV file without a header.
    File inputCsvFile = new File(LOCAL_INPUT_FILE);
    FileUtils.writeStringToFile(inputCsvFile, STRING_VALUE, StandardCharsets.UTF_8);
    // Try to get business object data keys when CSV file does not have an expected header.
    try
    {
        retentionExpirationDestroyerController.getBusinessObjectDataKeys(inputCsvFile);
        fail();
    }
    catch (IllegalArgumentException e)
    {
        assertEquals(String.format("Input file \"%s\" does not contain the expected CSV file header.", inputCsvFile.toString()), e.getMessage());
    }
}