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