executeFindBestTMMatch(textFlow, 90, false);
}
@Test
public void searchBestMatchTMTest2() {
TextFlowDAO textFlowDAO = seam.autowire(TextFlowDAO.class);
// content0="One file removed" content1="%d files removed"
// best matches has 100% similarity
HTextFlow textFlow = textFlowDAO.findById(101L, false);
assert textFlow != null;
executeFindBestTMMatch(textFlow, 80, true);
executeFindBestTMMatch(textFlow, 90, true);
executeFindBestTMMatch(textFlow, 100, true);