row, recent, log));
}
@Test
public void testBodyShouldFindTextInBodyCaseInsensitive() throws Exception {
assertTrue(new MessageSearches().isMatch(SearchQuery
.bodyContains(SAMPLE_INNER_MAIL_BODY_ONE), row, recent, log));
assertTrue(new MessageSearches().isMatch(SearchQuery.bodyContains(SAMPLE_PART_ONE),
row, recent, log));
assertTrue(new MessageSearches().isMatch(SearchQuery.bodyContains(SAMPLE_PART_TWO),
row, recent, log));
assertTrue(new MessageSearches().isMatch(SearchQuery
.bodyContains(SAMPLE_INNER_MAIL_BODY_ONE.toLowerCase()), row,
recent, log));
assertTrue(new MessageSearches().isMatch(SearchQuery.bodyContains(SAMPLE_PART_ONE
.toLowerCase()), row, recent, log));
assertTrue(new MessageSearches().isMatch(SearchQuery.bodyContains(SAMPLE_PART_TWO
.toLowerCase()), row, recent, log));
assertTrue(new MessageSearches().isMatch(SearchQuery
.bodyContains(SAMPLE_INNER_MAIL_BODY_ONE.toUpperCase()), row,
recent, log));
assertTrue(new MessageSearches().isMatch(SearchQuery.bodyContains(SAMPLE_PART_ONE
.toUpperCase()), row, recent, log));
assertTrue(new MessageSearches().isMatch(SearchQuery.bodyContains(SAMPLE_PART_TWO
.toUpperCase()), row, recent, log));
}