featureTypeInfo = new FeatureTypeInfoImpl(catalog);
featureTypeInfo.setNamespace(ns);
featureTypeInfo.setName("states");
featureTypeInfo.setStore(dataStoreInfo);
vectorLayerInfo = new LayerInfoImpl();
vectorLayerInfo.setResource(featureTypeInfo);
vectorLayerInfo.setId("states");
vectorLayerInfo.setName("states");
catalog.add(workspace);
catalog.add(ns);
catalog.add(dataStoreInfo);
catalog.add(featureTypeInfo);
catalog.add(vectorLayerInfo);
CoverageStoreInfoImpl coverageStoreInfo = new CoverageStoreInfoImpl(catalog);
coverageStoreInfo.setId("coverageStore");
coverageStoreInfo.setName("coverageStore");
coverageStoreInfo.setWorkspace(workspace);
coverageInfo = new CoverageInfoImpl(catalog);
coverageInfo.setNamespace(ns);
coverageInfo.setName("fakeCoverage");
coverageInfo.setStore(coverageStoreInfo);
coverageLayerInfo = new LayerInfoImpl();
coverageLayerInfo.setResource(coverageInfo);
coverageLayerInfo.setId("fakeCoverage");
coverageLayerInfo.setName("fakeCoverage");
catalog.add(coverageStoreInfo);