File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
spring-test/src/main/java/org/springframework/test/context/bean/override/mockito Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 69
69
/**
70
70
* The name of the bean to register or replace.
71
71
* <p>If left unspecified, the bean to override is selected according to
72
- * the annotated field's type.
72
+ * the annotated field's type, taking qualifiers into account if necessary.
73
+ * See the {@linkplain MockitoBean class-level documentation} for details.
73
74
* @return the name of the mocked bean
74
75
*/
75
76
String name () default "" ;
Original file line number Diff line number Diff line change 58
58
59
59
/**
60
60
* The name of the bean to spy.
61
- * <p>If left unspecified, the bean to override is selected according to
62
- * the annotated field's type.
61
+ * <p>If left unspecified, the bean to spy is selected according to
62
+ * the annotated field's type, taking qualifiers into account if necessary.
63
+ * See the {@linkplain MockitoSpyBean class-level documentation} for details.
63
64
* @return the name of the spied bean
64
65
*/
65
66
String name () default "" ;
You can’t perform that action at this time.
0 commit comments