|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface TestMock
Specifies the annotated bean is a replacement type for all matching common subtypes in the context of a unit test.
When running unit tests with Errai IOC managed applications, beans which have been annotated with @TestMock will be given injection consideration preference over any other matching beans.
For the purposes of beans annotated with @TestMock, the bean is treated as an otherwise normal bean, with normal resolution rules, including the use of qualifiers.
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |