### Question:
MqBootstrapScanConfig { @Bean("clientMqFilter") public FilterRegistrationBean clientMqFilter(MqFilter mqFilter) { FilterRegistrationBean openApiFilter = new FilterRegistrationBean(); openApiFilter.setFilter(mqFilter); openApiFilter.addUrlPatterns("/mq/client/*"); return openApiFilter; }  @Bean("clientMqFilter") FilterRegistrationBean clientMqFilter(MqFilter mqFilter);  }### Answer:
@Test public void test() { MqBootstrapScanConfig mqBootstrapScanConfig=new MqBootstrapScanConfig(); FilterRegistrationBean filterRegistrationBean=mqBootstrapScanConfig.clientMqFilter(new MqFilter()); assertEquals(1, filterRegistrationBean.getUrlPatterns().size()); }