Spring Boot Unit Testing using Mockito & JUnit

Опубликовано: 06 Ноябрь 2020
на канале: Kris Foster
18,805
245

In this video we will be unit testing a method in a spring boot application. Using Mockito, we will mock the behaviour of a dependency the class has. This means our unit test is only covering the business logic in the class we want to test. We will be using JUnit & Mockito.

https://github.com/kriscfoster/curren...