1
2
3
4
5
6
7 package org.mule.config.spring.parsers;
8
9 import org.junit.Test;
10
11 public class ConstrainedConnectorExceptionStrategyMule2126TestCase extends AbstractBadConfigTestCase
12 {
13
14 @Override
15 protected String getConfigResources()
16 {
17 return "org/mule/config/spring/parsers/constrained-connector-exception-strategy-mule-2126-test.xml";
18 }
19
20 @Test
21 public void testError() throws Exception
22 {
23 assertErrorContains("Invalid content was found starting with element 'default-connector-exception-strategy'");
24 }
25
26 }