@Test
public void testGlobalCapabilities() throws Exception {
LayerInfo layer = layer(catalog, MockData.PRIMITIVEGEOFEATURE);
Document doc = getAsDOM("/wms?service=WMS&request=getCapabilities&version=1.3.0", true);
assertXpathExists("//wms:Layer[wms:Name='" + layer.prefixedName() + "']", doc);
}
@Test
public void testWorkspaceCapabilities() throws Exception {
Document doc = getAsDOM("/sf/wms?service=WMS&request=getCapabilities&version=1.3.0", true);