xxxxxxxxxx
WebMvcTest annotation is used for unit testing Spring MVC Applications in cases where the test objective is to just focus on Spring MVC Components.
In the snapshot shown above, we want to launch only the ToTestController.
All other controllers and mappings will not be launched when this unit test is executed.