Can we make Spring reset @MockBean
and @Mock
annotated things explicitly?
I mean are there any magic annotations which forces reset on things after Test method is evaluated.
PS. I don't want to explicitly write reset()
in @AfterTest
Can we make Spring reset @MockBean
and @Mock
annotated things explicitly?
I mean are there any magic annotations which forces reset on things after Test method is evaluated.
PS. I don't want to explicitly write reset()
in @AfterTest