@Override
    public void setApplicationContext(@NonNull final ApplicationContext applicationContext) throws BeansException {
        SpringBeanUtils.getInstance().setApplicationContext(applicationContext);
        ShenyuConfig shenyuConfig = SpringBeanUtils.getInstance().getBean(ShenyuConfig.class);
        Singleton.INST.single(ShenyuConfig.class, shenyuConfig);
    }
@Test
    public void applicationContextAwareTest() {
        ConfigurableApplicationContext applicationContext = mock(ConfigurableApplicationContext.class);
        SpringBeanUtils.getInstance().setApplicationContext(applicationContext);
        when(SpringBeanUtils.getInstance().getBean(ShenyuConfig.class))
                .thenReturn(new ShenyuConfig());
    }