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 d717709557fffa9bbb9d9e1f682f18f8623f16f9
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Fri Jun 28 08:48:23 2019 +0200

    Fixed test
---
 .../test/java/org/apache/camel/support/PropertyBindingSupportTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/support/PropertyBindingSupportTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/support/PropertyBindingSupportTest.java
index 5c751df..968961f 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/support/PropertyBindingSupportTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/support/PropertyBindingSupportTest.java
@@ -318,7 +318,7 @@ public class PropertyBindingSupportTest extends 
ContextTestSupport {
             PropertyBindingSupport.bindProperty(context, foo, "bar.work", 
"#class:org.apache.camel.support.Company");
             fail("Should throw exception");
         } catch (PropertyBindingException e) {
-            assertIsInstanceOf(IllegalArgumentException.class, e.getCause());
+            assertIsInstanceOf(IllegalStateException.class, e.getCause());
         }
     }
 

Reply via email to