Annotation Type PowerMockListener


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    @Inherited
    public @interface PowerMockListener
    The PowerMock listener annotation can be used to tell PowerMock which listeners should be instantiated and invoked during a test. A listener is invoked according to the events specified in the PowerMockTestListener interface.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<? extends PowerMockTestListener>[] value