this is an interesting post looking at how to use JUnit with Spring Boot. The only thing I didn't quite understand is why the author declares Mockito explicitly. I'm pretty sure it's brought in transitively in spring-boot-starter-test, but either way: good post!