In my former Spring development, it is easy to spy a Spring bean via @SpyBean or Mockito spy method, and do some stubbing and verifying it in the testi
@SpyBean
spy