类的使用
org.springframework.boot.test.system.OutputCaptureRule

没有org.springframework.boot.test.system.OutputCaptureRule的用法