Author: asoldano
Date: 2014-09-26 09:51:20 -0400 (Fri, 26 Sep 2014)
New Revision: 18950
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/policy/PolicyInterceptorProviderTestCase.java
Log:
Improving exception
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/policy/PolicyInterceptorProviderTestCase.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/policy/PolicyInterceptorProviderTestCase.java 2014-09-26
07:47:38 UTC (rev 18949)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/policy/PolicyInterceptorProviderTestCase.java 2014-09-26
13:51:20 UTC (rev 18950)
@@ -113,6 +113,7 @@
try {
port.echo("foo");
+ fail("Exception expected");
} catch (Exception e) {
assertTrue(e.getMessage().contains("None of the policy alternatives can
be satisfied"));
}
Show replies by date