Closed snowdrop-bot closed 3 years ago
It would be very nice to have support for https://www.javadoc.io/doc/org.mockito/mockito-core/2.13.0/org/mockito/Mockito.html#RETURNS_DEEP_STUBS for bean injected with the @InjectMock.
@InjectMock
This could be implemented as a new parameter in the @InjectMock annotation, like deepStubs. Default value would be false.
deepStubs
false
https://github.com/quarkusio/quarkus/issues/18236
$upstream:18236$
Description
It would be very nice to have support for https://www.javadoc.io/doc/org.mockito/mockito-core/2.13.0/org/mockito/Mockito.html#RETURNS_DEEP_STUBS for bean injected with the
@InjectMock
.Implementation ideas
This could be implemented as a new parameter in the
@InjectMock
annotation, likedeepStubs
. Default value would befalse
.https://github.com/quarkusio/quarkus/issues/18236
$upstream:18236$