'How to Mock a Static function with WebMvcTest in Springboot

Is there any functionality within the @WebMvcTest annotation that can be used to test static functions of a class?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source