class MySqlConnectionFactory implements DbUnitConnectionFactory {

    @Override
    public boolean supportsDriver(final String driverClass) {
        return "com.mysql.cj.jdbc.Driver".equals(driverClass) || "com.mysql.jdbc.Driver".equals(driverClass);
    }

}