How to test Controller using PowerMock in Spring Boot ?

Pre Requisite: Make sure you have the below powermock maven dependencies. Add the below dependencies to your pom.xml file: Step … Continue reading How to test Controller using PowerMock in Spring Boot ?