PostgreSQLImporter extends AbstractJDBCImporter { @Override protected AbstractSQLBuilder createSQLBuilder() { return new PostgreSQLSQLBuilder(); } PostgreSQLImporter(final ImporterConfiguration importerConfig, final DataSourceManager dataSourceManager);   }
@Test public void assertCreateSQLBuilder() { PostgreSQLImporter postgreSQLImporter = new PostgreSQLImporter(importerConfig, dataSourceManager); String insertSQL = postgreSQLImporter.createSQLBuilder().buildInsertSQL(mockDataRecord()); assertThat(insertSQL, is("INSERT INTO \"t_order\"(\"id\",\"name\") VALUES(?,?) ON CONFLICT (id) DO NOTHING")); }