@Test
public void testVerifyFileExistsAndReadableFileIsDirectory() throws IOException
{

    File testDirectory = localTempPath.toFile();
    try
    {
        HerdFileUtils.verifyFileExistsAndReadable(testDirectory);
        fail("Should throw an IllegalArgumentException when argument is a directory.");
    }
    catch (IllegalArgumentException e)
    {
        assertEquals(String.format("File \"%s\" is not a valid file that can be read as a manifest. Is it a directory?", testDirectory.getName()),
            e.getMessage());
    }
}