raw.put("service", "CSW");
raw.put("version", "2.0.2");
raw.put("request", "GetDomain");
raw.put("parameterName", "GetRecords.resultType");
GetDomainKvpRequestReader reader = new GetDomainKvpRequestReader();
Object request = reader.createRequest();
GetDomainType gd = (GetDomainType) reader.read(request, parseKvp(raw), raw);
assertEquals("CSW", gd.getService());
assertEquals("2.0.2", gd.getVersion());
assertEquals("GetRecords.resultType", gd.getParameterName());
}