View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.example.errorhandler;
8   
9   import org.mule.api.config.MuleProperties;
10  import org.mule.tck.junit4.FunctionalTestCase;
11  import org.mule.util.SystemUtils;
12  
13  import java.util.Properties;
14  
15  import org.junit.Test;
16  
17  public class ErrorHandlerTestCase extends FunctionalTestCase
18  {
19  
20      @Override
21      protected Properties getStartUpProperties()
22      {
23          Properties startupProps = new Properties();
24          startupProps.put(MuleProperties.APP_HOME_DIRECTORY_PROPERTY, SystemUtils.JAVA_IO_TMPDIR);
25          return  startupProps;
26      }
27  
28      @Override
29      protected String getConfigResources()
30      {
31          return "mule-config.xml";
32      }
33  
34      @Test
35      public void testConfigSanity()
36      {
37          // empty
38      }
39      
40      // TODO Create a test to copy files from test-data/out to test-data/in
41  }
42  
43