This course covers the de-facto standard mocking library for JVM applications: Mockito.
Learn how to effectively make use of Mockito to create and instruct mocks for your tests.
After working with this course, you'll be able to create mocks, stub method calls, and verify method invocations using Mockito.
Please note that this is not a course on unit testing Java applications. Instead, this course explains all the essential features of Mockito using hands-on examples.
Get access to this online course by enrolling in the Testing Spring Boot Applications Masterclass online course (Bundle Edition and above).

Hi Philip
Thanks for such a wonderful and useful course. I am facing a strange issue while testing my code with Testcontainers but unable to figure what is the issue.
Attaching the stackoverflow link. Can you please take a look when you have time.
https://stackoverflow.com/questions/79896909/dynamicpropertysource-annotated-method-inside-testconfiguration-annotated-clas
Thanks.
Hi Saravana,
thanks for your feedback, sure I’ll immediately take a look – thanks for posting the link!
Have a great day,
Philip
Got your answer in stack overflow. Thanks for the quick help Philip.
Hi Philip
I am really, if i am disturbing but i have tried everything and could not figure out this by myself and i need your help.
Can you check the below question when you can.
https://stackoverflow.com/questions/79897889/testcontainer-starts-automatically-with-explicitly-code-or-annotation-to-start
Thanks
Hi Saravana,
it looks like you figured it out yourself.
Hey Philip. Are you planning to update the course with Spring Boot 4 related content? Or this course already have Spring Boot 4 related content?
Hi Siddharth,
the course application is already on Spring Boot 4, what’s left is to publish new videos – I need some more weeks for that. I’ll update you via email once that’s done.
Kind regards,
Philip
Hi Philip
Can you check the below question when you have time. I tried my best but could not solve.
https://stackoverflow.com/questions/79900988/how-to-disable-security-on-tests-annotated-with-springboottest
I’ve answered on StackOverflow