@Override
  protected boolean isLazyInit(BeanDefinition beanDefinition, @Nullable Class<?> clazz) {
    return clazz == null || !Startable.class.isAssignableFrom(clazz);
  }
@Test
  public void sets_all_beans_lazy() {
    DefaultListableBeanFactory beanFactory = new DefaultListableBeanFactory();
    beanFactory.registerBeanDefinition("bean1", new RootBeanDefinition());
    assertThat(beanFactory.getBeanDefinition("bean1").isLazyInit()).isFalse();

    postProcessor.postProcessBeanFactory(beanFactory);
    assertThat(beanFactory.getBeanDefinition("bean1").isLazyInit()).isTrue();
  }