@Test
public void filterDocument_filterProblems() throws Exception{

	DocElementTestParams youngParams = new DocElementTestParams(6, 20);
	DocElementTestParams olderParams = new DocElementTestParams(7, 21);
	
	String aDoc = getCompositeTestDoc(getProblemTextEntry(youngParams)+getProblemTextEntry(olderParams), 
			getProblemEntry(youngParams)+getProblemEntry(olderParams), 
			null, 
			null);
	C32DocumentEntity filteredDoc = docLogic.createDocument("1012638924V546709",aDoc);
	Assert.assertTrue(filteredDoc.getDocument().indexOf("#pndProblem" + youngParams.getIndex())<0);
	Assert.assertTrue(filteredDoc.getDocument().indexOf("#pndProblem" + olderParams.getIndex())>=0);
	Assert.assertTrue(filteredDoc.getDocument().indexOf("pndDateOfOnset" + youngParams.getIndex())<0);
}