API Expert
Aug 10, 2023

--

While I agree, @Autowired allows a simplicity; not everything NEEDS to be injected (ie MVC) so @Autowired does fill a purpose in simplifying development.

As for testing, you should be testing the actually bean itself that you are wiring if you fear issues

--

--

API Expert
API Expert

Written by API Expert

Owen Rubel is the 'API Expert'. He is an Original Amazon team member, Creator of API Chaining(R), Leader in API Automation

Responses (1)