public void testVariableFilterWithNot() throws Exception
{
ExpressionFilter filter = new ExpressionFilter("variable", "foo!=bar");
filter.setMuleContext(muleContext);
MuleMessage message = new DefaultMuleMessage("blah", muleContext);
assertTrue(filter.accept(message));
message.setInvocationProperty("foo", "bar");
assertTrue(!filter.accept(message));
message.setInvocationProperty("foo", "car");
assertTrue(filter.accept(message));
}