rightAlignmentList.add(new Alignment(new String[]{"a"}, new String[]{"1"}));
rightAlignmentList.add(new Alignment(new String[]{"b"}, new String[]{"2"}));
rightAlignmentList.add(new Alignment(new String[]{"c"}, new String[]{"3"}));
Filter filter = new IntersectionSelector(rightAlignmentList);
List<Alignment> resultAlignmentList = filter.apply(leftAlignmentList);
assertEquals(2, resultAlignmentList.size());
assertEquals(rightAlignmentList.get(0), resultAlignmentList.get(0));
assertEquals(rightAlignmentList.get(2), resultAlignmentList.get(1));