我javaMunit測試中,我驗證調用<file:outbound-endpoint>這樣的: verifyCallOfMessageProcessor("outbound-endpoint")
.ofNamespace("file")
.withAttributes(attribute("path").withValue("/data/local/"),
a
我想模擬一個sfdc端點。但在我的實際流程中,此端點返回一些值。當我試圖通過嘲笑此端點返回任何值時,它將拋出一個例外爲: org.mule.api.MessagingException: Execution of the expression "payload.size()" failed. (org.mule.api.expression.ExpressionRuntimeException).