params.put(PASSWD.key, db.getProperty(PASSWD.key));
params.put(DBTYPE.key, "postgis");
params.put(PostgisNGDataStoreFactory.CREATE_DB_IF_MISSING.key, true);
// we can work with it
assertTrue(factory.canProcess(params));
// force database creation and check the store functions
JDBCDataStore store = factory.createDataStore(params);
assertNotNull(store);
store.createSchema(DataUtilities.createType("test", "id:String,polygonProperty:Polygon:srid=32615"));