TestSubject (EasyMock 5.5.0 API)
Date: 2024-11-17

org.easymock

## Annotation Type TestSubject

-     @Target(value=FIELD)
       @Retention(value=RUNTIME)
       @Documented
      public @interface TestSubject

  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.

  Since:
    3.2
  Author:
    Henri Tremblay

Copyright © 2001–2024 EasyMock contributors. All rights reserved.