org.powermock.api.easymock.powermocklistener
Class AnnotationEnabler
java.lang.Object
org.powermock.core.spi.support.AbstractPowerMockTestListenerBase
org.powermock.api.extension.listener.AnnotationEnabler
org.powermock.api.easymock.powermocklistener.AnnotationEnabler
- All Implemented Interfaces:
- AnnotationEnablerListener, PowerMockTestListener
Deprecated. Test Runners uses an annotation enabling listener per default
since version 1.3. You should just remove this listener.
public class AnnotationEnabler
- extends AnnotationEnabler
Before each test method all fields annotated with Mock
,
MockNice
or MockStrict
will have mock objects created for
them and injected to the fields.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationEnabler
public AnnotationEnabler()
- Deprecated.
Copyright © 2007-2012. All Rights Reserved.