MEL function to evaluate that an element of the message matches something
261262263264265266267268269270271
{ return new ElementMatcher(muleMessage.getOutboundAttachment(elementName)); } })); context.declareFunction("valueOf", new ElementMatchingAssertionMelFunction()); context.declareFunction("eq", new EqMatcherFunction()); context.declareFunction("anyBoolean", new AnyMatcherFunction(Boolean.class)); context.declareFunction("anyByte", new AnyMatcherFunction(Byte.class));