@Test
void testGetReprocessSelectionSummary() {

    setup();
    SelectionSummary selectionSummary = metaDao.getReprocessSelectionSummary(new FindMetaCriteria(MetaExpressionUtil.createFeedExpression(TEST1_FEED_NAME)));
    assertThat(selectionSummary.getItemCount()).isEqualTo(10);
    selectionSummary = metaDao.getReprocessSelectionSummary(new FindMetaCriteria(MetaExpressionUtil.createFeedExpression(TEST2_FEED_NAME)));
    assertThat(selectionSummary.getItemCount()).isEqualTo(10);
    selectionSummary = metaDao.getReprocessSelectionSummary(new FindMetaCriteria(MetaExpressionUtil.createFeedsExpression(TEST1_FEED_NAME, TEST2_FEED_NAME)));
    assertThat(selectionSummary.getItemCount()).isEqualTo(20);
    selectionSummary = metaDao.getReprocessSelectionSummary(new FindMetaCriteria(MetaExpressionUtil.createFeedsExpression()));
    assertThat(selectionSummary.getItemCount()).isEqualTo(0);
    final ExpressionOperator expression = new ExpressionOperator.Builder(Op.AND)
            .addTerm(MetaFields.FEED_NAME, Condition.EQUALS, TEST1_FEED_NAME)
            .addTerm(MetaFields.TYPE_NAME, Condition.EQUALS, RAW_STREAM_TYPE_NAME)
            .build();
    selectionSummary = metaDao.getReprocessSelectionSummary(new FindMetaCriteria(expression));
    assertThat(selectionSummary.getItemCount()).isEqualTo(0);
}