@Test
public void testImportToSqliteViaFromParameters() throws Exception {

    File dbFile = File.createTempFile("test", "db");
    dbFile.deleteOnExit();
    SQLiteInterface sqliteInterface = SQLiteInterface.createForFile(dbFile);
    MetadataStore metadataStore = RDBMSMetadataStore.createNewInstance(sqliteInterface);
    File testFolder = getTestResource("test-database.db");
    CreateSchemaForRDBMSApp.fromParameters(
            metadataStore,
            "jdbc:sqlite:/" + testFolder.getAbsolutePath(),
            "test-schema",
            null,
            null,
            org.sqlite.JDBC.class.getCanonicalName(),
            "JDBC"
    );
    Schema schema = metadataStore.getSchemaByName("test-schema");
    Assert.assertNotNull("test-schema");
    Assert.assertEquals(9, schema.getTables().size());
    Table target = metadataStore.getTableByName("test-schema.Target");
    Assert.assertEquals(6, target.getColumns().size());
    Column targetData = metadataStore.getColumnByName("test-schema.Target.data");
    Assert.assertNotNull(targetData);
}