Package org.powermock.core.spi
package org.powermock.core.spi
-
InterfacesClassDescriptionInterface that provides the replay, verify and reset behavior for mock objects and classes.The purpose of a method invocation control is to invoke a proxy to simulate a method call.A new invocation control pairs up a
InvocationSubstitute
with the mock object created when invokingInvocationSubstitute.performSubstitutionLogic(Object...)
object.This interface can be implemented to create policies for certain frameworks to make it easier for users to test their code in isolation from these frameworks.This interface should be implemented by all PowerMock test listeners.