/** Test that null values match an empty pattern. */
public void testSkipOnNullValue() throws Exception {
Map<String, List<Value>> props = createPropertiesSubset(PROP1);
props.put(PROP1, valueList((String) null));
Document filter =
createFilter(PROP1, "\\A\\Z", true, new SimpleDocument(props));
try {
checkProperty(filter.findProperty(PROP1));
fail("SkippedDocumentException expected");
} catch (SkippedDocumentException expected) {
// Expected.