Filter filter = filterCaptor.getValue();
final List<FilterCriterion> criteria = filter.getCriteria();
assertEquals(2, criteria.size());
FilterCriterion sizeCriterion = criteria.get(0);
FilterCriterion puidCriterion = criteria.get(1);
assertEquals(CriterionOperator.EQ, sizeCriterion.getOperator());
assertEquals(CriterionFieldEnum.FILE_SIZE, sizeCriterion.getField());
assertEquals(Long.valueOf(720), sizeCriterion.getValue());
assertEquals(CriterionOperator.ANY_OF, puidCriterion.getOperator());
assertEquals(CriterionFieldEnum.PUID, puidCriterion.getField());
assertArrayEquals(new Object[] {"fmt/101", "fmt/666"}, (Object[]) puidCriterion.getValue());
}