@Test
public void testAllRecordsBrief() throws Exception {
String request = "csw?service=CSW&version=2.0.2&request=GetRecords&typeNames=csw:Record&resultType=results&elementSetName=brief";
Document d = getAsDOM(request, "ISO-8859-1");
checkValidationErrors(d, new CSWConfiguration());
// check we have the expected results
assertXpathEvaluatesTo("brief", "//csw:SearchResults/@elementSet", d);
assertXpathEvaluatesTo("12", "//csw:SearchResults/@numberOfRecordsMatched", d);
assertXpathEvaluatesTo("10", "//csw:SearchResults/@numberOfRecordsReturned", d);