@Test
public void testSimpleFilter() throws IOException, SAXException {

    // build filter
    Filter filter = createEqualsFilter("my value", "myprop");
    String request = org.oskari.csw.request.GetRecords.createRequest(filter);
    // read expected result and compare
    String expected = IOHelper.readString(getClass().getResourceAsStream("GetRecords-simple.xml"));
    Diff xmlDiff = new Diff(request, expected);
    assertTrue("Should get expected simple request" + xmlDiff, xmlDiff.similar());
}