}
protected void assertSelector(MockMessage message, String text, boolean expected) throws FilterException {
BooleanExpression selector = SelectorParser.parse(text);
assertTrue("Created a valid selector", selector != null);
boolean value = selector.matches(message);
assertEquals("Selector for: " + text, expected, value);
}
protected MockMessage createMessage(String subject) {
MockMessage message = new MockMessage();