@Test
void testFind() {

    setup();
    ResultPage<Meta> resultPage = metaDao.find(new FindMetaCriteria(MetaExpressionUtil.createFeedExpression(TEST1_FEED_NAME)));
    assertThat(resultPage.size()).isEqualTo(20);
    resultPage = metaDao.find(new FindMetaCriteria(MetaExpressionUtil.createFeedExpression(TEST2_FEED_NAME)));
    assertThat(resultPage.size()).isEqualTo(20);
    resultPage = metaDao.find(new FindMetaCriteria(MetaExpressionUtil.createFeedsExpression(TEST1_FEED_NAME, TEST2_FEED_NAME)));
    assertThat(resultPage.size()).isEqualTo(40);
    resultPage = metaDao.find(new FindMetaCriteria(MetaExpressionUtil.createFeedsExpression()));
    assertThat(resultPage.size()).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();
    resultPage = metaDao.find(new FindMetaCriteria(expression));
    assertThat(resultPage.size()).isEqualTo(10);
}