NotesDocumentMock crawlDoc = new NotesDocumentMock();
crawlDoc.addItem(new NotesItemMock("name", "x.foo", "type", NotesItem.TEXT,
"values", "foo text 1", "foo text 2", "foo text 3"));
doc.crawlDoc = crawlDoc;
doc.setMetaFields();
Property p = doc.findProperty("foo");
assertNotNull("property foo missing", p);
Value v = p.nextValue();
assertNotNull("property foo value missing", v);
assertEquals("property foo 1", "foo text 1", v.toString());
v = p.nextValue();
assertEquals("property foo 2", "foo text 2", v.toString());
v = p.nextValue();
assertEquals("property foo 3", "foo text 3", v.toString());
assertNull(p.nextValue());
}