Class PowerMockitoSpyAnnotationEngine

  • All Implemented Interfaces:
    org.mockito.plugins.AnnotationEngine

    public class PowerMockitoSpyAnnotationEngine
    extends org.mockito.internal.configuration.SpyAnnotationEngine
    More or less a copy of the SpyAnnotationEngine but it uses PowerMockito.spy(Object) instead.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.mockito.plugins.AnnotationEngine

        org.mockito.plugins.AnnotationEngine.NoAction
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.AutoCloseable process​(java.lang.Class<?> context, java.lang.Object testClass)  
      • Methods inherited from class java.lang.Object

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

      • PowerMockitoSpyAnnotationEngine

        public PowerMockitoSpyAnnotationEngine()
    • Method Detail

      • process

        public java.lang.AutoCloseable process​(java.lang.Class<?> context,
                                               java.lang.Object testClass)
        Specified by:
        process in interface org.mockito.plugins.AnnotationEngine
        Overrides:
        process in class org.mockito.internal.configuration.SpyAnnotationEngine