This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit e3297bd20cfae510fe0a74997331209149432d35
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu Oct 22 07:48:53 2020 +0200

    CAMEL-15730: camel-core - Untangle simple refier from builder package and 
use language spi to be decoupled like the other language reifier does.
---
 .../apache/camel/component/jcache/policy/JCachePolicyProcessorTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/JCachePolicyProcessorTest.java
 
b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/JCachePolicyProcessorTest.java
index a21dca2..191acab 100644
--- 
a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/JCachePolicyProcessorTest.java
+++ 
b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/JCachePolicyProcessorTest.java
@@ -219,7 +219,7 @@ public class JCachePolicyProcessorTest extends 
JCachePolicyTestBase {
                 e -> e.getMessage().setBody(body));
 
         //Exception is on the exchange, cache is empty, onException was called.
-        assertIsInstanceOf(SimpleIllegalSyntaxException.class, 
response.getException().getCause());
+        assertIsInstanceOf(SimpleIllegalSyntaxException.class, 
response.getException());
         assertEquals("exception-" + body, response.getMessage().getBody());
         assertEquals(0, mock.getExchanges().size());
         assertFalse(cache.iterator().hasNext());

Reply via email to