@Test
public void filterDocument_filterResults() throws Exception {

	DocElementTestParams youngParams = new DocElementTestParams(6, 50);
	DocElementTestParams olderParams = new DocElementTestParams(7, 51);
	String aDoc = getCompositeTestDoc(null, 
			null, 
			getLabTextEntry(youngParams)+getLabTextEntry(olderParams), 
			getLabEntry(youngParams)+getLabEntry(olderParams));
	C32DocumentEntity filteredDoc = docLogic.createDocument("1012638924V546709", aDoc);
	Assert.assertTrue(filteredDoc.getDocument().indexOf("#lndComment"+olderParams.getIndex())>=0);
	Assert.assertTrue(filteredDoc.getDocument().indexOf("#lndComment"+youngParams.getIndex())<0);
	Assert.assertTrue(filteredDoc.getDocument().indexOf("lndDateTime"+olderParams.getIndex())<0);
	Assert.assertTrue(filteredDoc.getDocument().indexOf("lndDateTime"+youngParams.getIndex())<0);
}