@Override public void setUp() throws IOException { super.setUp(); assert !UTF8.equals(getArchiveDriver().getCharset()) || null == getUnencodableName() : "Bad test setup!"; }
@Test(expected = CharConversionException.class) public void testUnencodableNameMustThrowCharConversionException() throws CharConversionException { final String name = getUnencodableName(); if (null == name) throw new CharConversionException("Ignore me!"); getArchiveDriver().assertEncodable(name); }