### Question:
BeanManagerProvider implements Extension { public static BeanManager getBeanManager() { if (beanManager == null) { throw new IllegalStateException("No CDI context available"); } return beanManager; }  static BeanManager getBeanManager(); void setBeanManager(@Observes AfterDeploymentValidation event, BeanManager beanManager);  }### Answer:
@Test public void staticGetBeanManager() { assertNotNull(BeanManagerProvider.getBeanManager()); }