Update Javadoc for @Mockito[Spy]Bean to reflect current semantics
This commit is contained in:
@@ -69,7 +69,8 @@ public @interface MockitoBean {
|
||||
/**
|
||||
* The name of the bean to register or replace.
|
||||
* <p>If left unspecified, the bean to override is selected according to
|
||||
* the annotated field's type.
|
||||
* the annotated field's type, taking qualifiers into account if necessary.
|
||||
* See the {@linkplain MockitoBean class-level documentation} for details.
|
||||
* @return the name of the mocked bean
|
||||
*/
|
||||
String name() default "";
|
||||
|
||||
@@ -58,8 +58,9 @@ public @interface MockitoSpyBean {
|
||||
|
||||
/**
|
||||
* The name of the bean to spy.
|
||||
* <p>If left unspecified, the bean to override is selected according to
|
||||
* the annotated field's type.
|
||||
* <p>If left unspecified, the bean to spy is selected according to
|
||||
* the annotated field's type, taking qualifiers into account if necessary.
|
||||
* See the {@linkplain MockitoSpyBean class-level documentation} for details.
|
||||
* @return the name of the spied bean
|
||||
*/
|
||||
String name() default "";
|
||||
|
||||
Reference in New Issue
Block a user