Class Keys


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

      Fields 
      Modifier and Type Field Description
      static java.lang.String CURRENT_TEST_INSTANCE
      Key that can be used to set or get the current test instance in the mock repository.
      static java.lang.String CURRENT_TEST_METHOD
      Key that can be used to set or get the current test method in the mock repository.
      static java.lang.String CURRENT_TEST_METHOD_ARGUMENTS
      Key that can be used to set or get the current test method arguments in the mock repository.
    • Constructor Summary

      Constructors 
      Constructor Description
      Keys()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CURRENT_TEST_INSTANCE

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

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

        public static final java.lang.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:
        Constant Field Values
    • Constructor Detail

      • Keys

        public Keys()