assertException(t, EntityNotFoundException.class);
}
}
public void testErrorCodeConfigurationHasAllKnownDictionaries() {
SQLErrorCodeReader reader = new SQLErrorCodeReader();
InputStream in = DBDictionary.class.getResourceAsStream
("sql-error-state-codes.xml");
assertNotNull(in);
List<String> names = reader.getDictionaries(in);
assertTrue(names.size()>=18);
for (String name:names) {
try {
Class.forName(name, false, Thread.currentThread()
.getContextClassLoader());