public void testGetRemoteFeatureType() throws Exception {
DescribeFeatureTypeRequest req = mock(DescribeFeatureTypeRequest.class);
when(wfs.createDescribeFeatureTypeRequest()).thenReturn(req);
DescribeFeatureTypeResponse resp = mock(DescribeFeatureTypeResponse.class);
when(wfs.issueRequest(same(req))).thenReturn(resp);
when(resp.getFeatureType()).thenReturn(featureType2);
dataStore = spy(new WFSDataStore(wfs));
assertSame(featureType2, dataStore.getRemoteSimpleFeatureType(TYPE2));