}
public void testBadSuffix() {
PrevaylerFactory factory = new PrevaylerFactory();
try {
factory.configureJournalSerializer("JOURNAL", new JavaSerializer());
fail();
} catch (IllegalArgumentException expected) {
assertEquals("Journal filename suffix must match /[a-zA-Z0-9]*[Jj]ournal/, but 'JOURNAL' does not", expected.getMessage());
}
}