### Question:
PostGIS implements VectorDriver<PostGISWorkspace> { @Override public Class<PostGISWorkspace> type() { return PostGISWorkspace.class; }  static PostGISWorkspace open(PostGISOpts opts); @Override boolean isEnabled(Messages messages); @Override String name(); @Override List<String> aliases(); @Override Class<PostGISWorkspace> type(); @Override List<Key<? extends Object>> keys(); @Override String family(); @Override boolean canOpen(Map<?, Object> opts, Messages msgs); @Override PostGISWorkspace open(Map<?, Object> opts); @Override boolean canCreate(Map<?, Object> opts, Messages msgs); @Override PostGISWorkspace create(Map<?, Object> opts, Schema schema); @Override Set<Capability> capabilities(); static final Key<String> DB; static final Key<String> SCHEMA; static final Key<String> HOST; static final Key<Integer> PORT; static final Key<String> USER; static final Key<Password> PASSWD; }### Answer:
@Test public void testSchema() throws Exception { VectorDataset states = pg.get("states"); assertNotNull(states); Schema schema = states.schema(); assertNotNull(schema.field("STATE_NAME")); assertNotNull(schema.geometry()); assertEquals(MultiPolygon.class, schema.geometry().type()); assertNotNull(schema.crs()); assertEquals("EPSG:4326", schema.crs().getName()); }