private void assertClassNamePattern(final String pattern) {
        Properties properties = new Properties();
        properties.put(SpringBeansConfig.SPRING_BEANS_PREFIX + 1 + SpringBeansConfig.SPRING_BEANS_CLASS_PATTERN_POSTFIX, pattern);
        ProfilerConfig config = ProfilerConfigLoader.load(properties);
        TargetBeanFilter filter = TargetBeanFilter.of(config);
        filter.clear();

        BeanDefinition beanDefinition = new RootBeanDefinition(String.class);
        assertTrue(filter.isTarget(SpringBeansTargetScope.COMPONENT_SCAN, "Target0", beanDefinition));
    }
@author Jongho Moon
@author jaehong.kim
agent-module/plugins/spring/src/test/java/com/navercorp/pinpoint/plugin/spring/beans/interceptor/TargetBeanFilterTest.java