@Test
public void testGetSchema() throws IOException, SeException {

    SimpleFeatureType schema;
    schema = store.getSchema(testData.getTempTableName());
    assertNotNull(schema);
    // ROW_ID is not included in TEST_TABLE_COLS
    assertEquals(TEST_TABLE_COLS.length, schema.getAttributeCount());
    for (int i = 0; i < TEST_TABLE_COLS.length; i++) {
        assertEquals("at index" + i, TEST_TABLE_COLS[i], schema.getDescriptor(i).getLocalName());
    }
    assertFalse(schema.getDescriptor(0).isNillable());
    assertTrue(schema.getDescriptor(1).isNillable());
}