/** * @see org.apache.jsieve.tests.AbstractTest#executeBasic(MailAdapter, Arguments, SieveContext) */ protected boolean executeBasic(MailAdapter mail, Arguments arguments, SieveContext context) throws SieveException { final List<String> argumentList = ((StringListArgument) arguments.getArgumentList().get(0)).getList(); boolean found = true; for (final String arg : argumentList) { List<String> headers = mail.getMatchingHeader(arg); found = found && !headers.isEmpty(); if (!found) { break; } } return found; }