@Test
public void testGetRecords() throws OXFException, ExceptionReport {

     CSWAdapter adapter = new CSWAdapter();
     ParameterContainer paramCon = new ParameterContainer();
     paramCon.addParameterShell(CSWRequestBuilder.DESCRIBE_RECORD_VERSION_PARAMETER,
                                CSWAdapter.SUPPORTED_VERSIONS.get(0));
     paramCon.addParameterShell(CSWRequestBuilder.DESCRIBE_RECORD_SERVICE_PARAMETER,
                                CSWAdapter.SERVICE_TYPE);
     paramCon.addParameterShell(CSWRequestBuilder.DESCRIBE_RECORD_OUTPUT_FORMAT_PARAMETER,
                                "application/xml");
       paramCon.addParameterShell(CSWRequestBuilder.DESCRIBE_RECORD_TYPE_NAME_PARAMETER,
                                  "csw:Record,rim:Service,rim:Organization");
     paramCon.addParameterShell(CSWRequestBuilder.GET_RECORDS_OUTPUT_SCHEMA_FORMAT,"http://www.opengis.net/cat/csw");
     String typeNames[] = {"Service","Organization"};
     // FIXME this parameter is missing
     //paramCon.addParameterShell(CSWRequestBuilder.GET_RECORDS_TYPE_NAME_PARAMETER,typeNames);
     paramCon.addParameterShell(CSWRequestBuilder.DESCRIBE_RECORD_SCHEMA_LANGUAGE_PARAMETER,
                                "XMLSCHEMA");
     OperationResult opResult = adapter.doOperation(new Operation("GetRecords",
                                                                  url + "?",
                                                                  url), paramCon);
     LOGGER.info(new String(opResult.getIncomingResult()));
}