if (!(cause instanceof CSVHeaderValidationException)) {
fail("!(cause instanceof CsvHeaderValidationException)");
}
CSVHeaderValidationException validation = (CSVHeaderValidationException) cause;
assertEquals(Arrays.asList(expected), validation.getExpected());
assertEquals(Arrays.asList(found), validation.getFound());
assertEquals(message, validation.getMessage());
}