@Retention(value=RUNTIME) @Target(value=TYPE) public @interface TestMock
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.
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.