@Test
public void testGetTypeNames() throws IOException {

    String[] expected = {"gubs:GovernmentalUnitCE", "gubs:GovernmentalUnitMCD",
            "gubs:GovernmentalUnitST", "hyd:HydroElementARHI", "hyd:HydroElementARMD",
            "hyd:HydroElementFLHI", "hyd:HydroElementFLMD", "hyd:HydroElementLIHI",
            "hyd:HydroElementLIMD", "hyd:HydroElementPTHI", "hyd:HydroElementPTMD",
            "hyd:HydroElementWBHI", "hyd:HydroElementWBMD", "trans:RoadSeg"};
    List<String> expectedTypeNames = Arrays.asList(expected);
    createTestProtocol(CUBEWERX_GOVUNITCE.CAPABILITIES);
    WFS_1_1_0_DataStore ds = new WFS_1_1_0_DataStore(wfs);
    String[] typeNames = ds.getTypeNames();
    assertNotNull(typeNames);
    List<String> names = Arrays.asList(typeNames);
    assertEquals(expectedTypeNames.size(), names.size());
    assertEquals(expectedTypeNames, names);
}