Class Keys

java.lang.Object
org.powermock.tests.utils.Keys

public class Keys extends Object
Holds various keys that may be put into the MockRepository to store state.
  • Field Details

    • CURRENT_TEST_INSTANCE

      public static final String CURRENT_TEST_INSTANCE
      Key that can be used to set or get the current test instance in the mock repository.
      See Also:
    • CURRENT_TEST_METHOD

      public static final String CURRENT_TEST_METHOD
      Key that can be used to set or get the current test method in the mock repository.
      See Also:
    • CURRENT_TEST_METHOD_ARGUMENTS

      public static final String CURRENT_TEST_METHOD_ARGUMENTS
      Key that can be used to set or get the current test method arguments in the mock repository.
      See Also:
  • Constructor Details

    • Keys

      public Keys()