r.add(RelationshipType.ANALOGOUS);
r.add(RelationshipType.INCLUDES);
r.add(RelationshipType.INCREASES);
r.setInclude(false);
CitationFilterCriteria c = new CitationFilterCriteria();
Citation[] citations = new Citation[] {
citation.newInstance(
"Trends in molecular medicine", "12928037", "", null,
Arrays.asList(StringUtils.split("de Nigris F|Lerman A|Ignarro LJ|Williams-Ignarro S|Sica V|Baker AH|Lerman LO|Geng YJ|Napoli C", '|')),
CitationType.PUBMED),
citation.newInstance(
"Cell", "16962653", "", dateFormat.parse("2006-10-07"),
Arrays.asList(StringUtils.split("Jacinto E|Facchinetti V|Liu D|Soto N|Wei S|Jung SY|Huang Q|Qin J|Su B", '|')),
CitationType.PUBMED),
citation.newInstance(
"Trends in molecular medicine", "15350900", "", null,
Arrays.asList(StringUtils.split("Barry RE|Krek W", '|')),
CitationType.PUBMED),
citation.newInstance(
"Journal of clinical oncology : official journal of the American Society of Clinical Oncology",
"16170185", "", null,
Arrays.asList(StringUtils.split("Beeram M|Patnaik A|Rowinsky EK", '|')),
CitationType.PUBMED),
citation.newInstance(
"The Biochemical journal", "12444918", "", null,
Arrays.asList(StringUtils.split("Houslay MD|Adams DR", '|')),
CitationType.PUBMED)
};
for (Citation cit : citations) {
c.add(cit);
}
f.add(r);
f.add(c);
testSameResultAsPreviousImplementation(f);