To test our Spring MVC controllers, we can use the @WebMvcTest annotation. The annotation scans only beans for @Controller , @ControllerAdvice , ...
確定! 回上一頁