*
* @throws Exception if any error occurs
*/
@Test(expected = RuntimeException.class)
public void testCreateApplicationContextCustomContextConfigurationAndAnnotation() throws Exception {
TestClass testClass = new TestClass(XmlAnnotatedCustomContextClass.class);
Map<String, String> properties = new HashMap<String, String>();
properties.put("customContextClass", "invalid class name");
remoteConfiguration = new SpringIntegrationConfiguration(properties);