public void testGetFeatureType() throws Exception {
testAddFeatureType();
WorkspaceInfo ws = dao.getWorkspaceByName("acme");
NamespaceInfo ns = dao.getNamespaceByPrefix("acme");
DataStoreInfo ds = dao.getStoreByName(ws, "widgets", DataStoreInfo.class);
assertNotNull(dao.getResourceByStore(ds, "anvil", FeatureTypeInfo.class));
assertEquals(1, dao.getResourcesByStore(ds, FeatureTypeInfo.class).size());
assertNotNull(dao.getResourceByName(ns, "anvil", FeatureTypeInfo.class));