Package org.powermock.api.extension.listener
package org.powermock.api.extension.listener
-
ClassDescriptionBefore each test method all fields annotated with
Mock,MockorMockhave mock objects created for them and injected to the fields.This class works like asEasyMockSupportand is used to create and inject mocks to annotated fields of an instance of test class.The class injects mocks created withMock,Mockto fields of objects which is annotated withTestSubject