Class JavaxServletMockUtils.GetVariableNamesAnswer

  • All Implemented Interfaces:
    org.mockito.stubbing.Answer<java.util.Enumeration<?>>
    Enclosing class:
    JavaxServletMockUtils

    private static class JavaxServletMockUtils.GetVariableNamesAnswer
    extends java.lang.Object
    implements org.mockito.stubbing.Answer<java.util.Enumeration<?>>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<java.lang.String,​?> values  
    • Constructor Summary

      Constructors 
      Constructor Description
      GetVariableNamesAnswer​(java.util.Map<java.lang.String,​?> values)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Enumeration<?> answer​(org.mockito.invocation.InvocationOnMock invocation)  
      • Methods inherited from class java.lang.Object

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

      • values

        private final java.util.Map<java.lang.String,​?> values
    • Constructor Detail

      • GetVariableNamesAnswer

        public GetVariableNamesAnswer​(java.util.Map<java.lang.String,​?> values)
    • Method Detail

      • answer

        public java.util.Enumeration<?> answer​(org.mockito.invocation.InvocationOnMock invocation)
                                        throws java.lang.Throwable
        Specified by:
        answer in interface org.mockito.stubbing.Answer<java.util.Enumeration<?>>
        Throws:
        java.lang.Throwable