@Test
public void testNoDelimFound() throws Exception {

    // Should return defaults and not error
    parser.setAutoDetect(true);
    try (InputStream is = CSVFileSchemaParserTest.class.getClassLoader().getResourceAsStream("junk.txt")) {
        try {
            HiveTableSchema schema = toHiveTableSchema(is);
            fail("Expecting unrecognized format");
        } catch (IOException e) {
            checkInvalidFormatException(e);
        }
    }
}