com.opensymphony.xwork2.util

## Class XWorkTestCaseHelper

- java.lang.Object
- - com.opensymphony.xwork2.util.XWorkTestCaseHelper

-     public class XWorkTestCaseHelper
      extends Object

  Generic test setup methods to be used with any unit testing framework.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `XWorkTestCaseHelper()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static ConfigurationManager` | `loadConfigurationProviders(ConfigurationManager configurationManager, ConfigurationProvider... providers)`
    `static ConfigurationManager` | `setUp()`
    `static void` | `tearDown(ConfigurationManager configurationManager)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### XWorkTestCaseHelper

          public XWorkTestCaseHelper()

  - ### Method Detail

    - #### setUp

          public static ConfigurationManager setUp()
                                            throws Exception

      Throws:
        `Exception`

    - #### loadConfigurationProviders

          public static ConfigurationManager loadConfigurationProviders(ConfigurationManager configurationManager,
                                                                        ConfigurationProvider... providers)

    - #### tearDown

          public static void tearDown(ConfigurationManager configurationManager)
                               throws Exception

      Throws:
        `Exception`

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.