@Test
public void testBasicKVP() throws Exception {
List<LayerInfo> list0 = NCNameResourceCodec.getLayers(getCatalog(), "pippo_topo");
assertNotNull(list0);
assertEquals(0, list0.size());
List<LayerInfo> list1 = NCNameResourceCodec.getLayers(getCatalog(), "pippo__topo");
assertNotNull(list1);
assertEquals(0, list1.size());
List<LayerInfo> list = NCNameResourceCodec.getLayers(getCatalog(), "wcs__BlueMarble");
assertNotNull(list);
assertEquals(1, list.size());
WorkspaceInfo oldWs = LocalWorkspace.get();
LocalWorkspace.set(ws);
List<LayerInfo> list = NCNameResourceCodec.getLayers(getCatalog(), "BlueMarble");
assertNotNull(list);
assertEquals(1, list.size());
List<LayerInfo> list = NCNameResourceCodec.getLayers(getCatalog(), "BlueMarble");
assertNotNull(list);
assertEquals(1, list.size());