@Test
public void testImportViaFromParameters() throws Exception {

    MetadataStore metadataStore = new DefaultMetadataStore();
    File testFolder = getTestResource("test-schema");
    CreateSchemaForCsvFilesApp.fromParameters(
            metadataStore,
            Collections.singleton(testFolder.getAbsolutePath()),
            "test-schema",
            ";",
            "\"",
            true
    );
    Schema schema = metadataStore.getSchemaByName("test-schema");
    Assert.assertNotNull("test-schema");
    Assert.assertEquals(2, schema.getTables().size());
    Table table1 = metadataStore.getTableByName("test-schema.table1");
    Assert.assertNotNull(table1);
    Assert.assertEquals(3, table1.getColumns().size());
    Column table1Comments = metadataStore.getColumnByName("test-schema.table2.dat.Comments");
    Assert.assertNotNull(table1Comments);
}