Top Description Methods
org.easymock

public @Interface TestSubject

extends Annotation
Annotations
@Target:FIELD
@Retention:RUNTIME
@Documented
Imports
java.lang.annotation.*

Annotation to set on a field so that EasyMockRunner, EasyMockRule or EasyMockSupport#injectMocks(Object) will inject mocks created with Mock on its fields.

See EasyMockSupport#injectMocks(Object) for the injection rules.

Author
Henri Tremblay
Since
3.2

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString