lsiu / testspybean Goto Github PK
View Code? Open in Web Editor NEWSample project where @SpyBean may spy on incorrect bean when there are 2 beans define where one is marked with @Primary - Issue is describe in more detail in https://github.com/spring-projects/spring-boot/issues/7621