3435363738394041424344
filter() .from("from") .to("to"); SearchTerm expected = new AndTerm( new FromStringTerm("from"), new RecipientStringTerm(Message.RecipientType.TO, "to") ); assertEquals(expected, emailFilter.searchTerm); }