Oracle10ConnectionFactory implements DbUnitConnectionFactory { @Override public boolean supportsDriver(final String driverClass) { return "oracle.jdbc.OracleDriver".equals(driverClass) || "oracle.jdbc.driver.OracleDriver".equals(driverClass); }  @Override boolean supportsDriver(final String driverClass); @Override IDatabaseConnection createConnection(final Connection connection, final String schema);  }
@Test public void testDriverClassSupport() { assertTrue(FACTORY.supportsDriver("oracle.jdbc.OracleDriver")); assertTrue(FACTORY.supportsDriver("oracle.jdbc.driver.OracleDriver")); }