raw.put("acceptVersions", "2.0.2,2.0.0,0.7.2");
raw.put("sections", "OperationsMetadata,foo");
raw.put("acceptFormats", "application/xml,text/plain");
GetCapabilitiesKvpRequestReader reader = new GetCapabilitiesKvpRequestReader();
Object request = reader.createRequest();
GetCapabilitiesType caps = (GetCapabilitiesType) reader.read(request, parseKvp(raw), raw);
assertReturnedCapabilitiesComplete(caps);
}
private void assertReturnedCapabilitiesComplete(GetCapabilitiesType caps) {