title: Spring Boot Test: How To Use Only Certain Beans?
body: <p>I have Spring boot applications with bunch of beans. From day to day their amount increase. So all the time I need to mock new beans or tests will fail. So, the question is quite simple: <strong>how to force spring boot tests use only few certain beans from application context rather than all</strong>?</p>