@@ -0,0 +1,2122 @@
+package com.github.persapiens.jsfboot.annotations;%0A%0Aimport org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext;%0Aimport org.testng.annotations.Test;%0Aimport static org.assertj.core.api.Assertions.assertThat;%0Aimport org.springframework.context.annotation.AnnotationConfigApplicationContext;%0Aimport org.springframework.web.context.support.AnnotationConfigWebApplicationContext;%0A%0A/**%0A * Jsf Cdi to Spring application context initializer%0A */%0A@Test%0Apublic class JsfCdiToSpringApplicationContextInitializerTest %7B%0A%0A    public void testAnnotationConfigEmbeddedWebApplicationContext() %7B%0A        AnnotationConfigEmbeddedWebApplicationContext annotationConfigEmbeddedWebApplicationContext = new AnnotationConfigEmbeddedWebApplicationContext();%0A        JsfCdiToSpringApplicationContextInitializer initializer = new JsfCdiToSpringApplicationContextInitializer();%0A        %0A        initializer.initialize(annotationConfigEmbeddedWebApplicationContext);%0A        %0A        assertThat(annotationConfigEmbeddedWebApplicationContext.getBeanFactoryPostProcessors().isEmpty()).isFalse();%0A    %7D%0A%0A    public void testAnnotationConfigWebApplicationContext() %7B%0A        AnnotationConfigWebApplicationContext annotationConfigWebApplicationContext = new AnnotationConfigWebApplicationContext();%0A        JsfCdiToSpringApplicationContextInitializer initializer = new JsfCdiToSpringApplicationContextInitializer();%0A        %0A        initializer.initialize(annotationConfigWebApplicationContext);%0A        %0A        assertThat(annotationConfigWebApplicationContext.getBeanFactoryPostProcessors().isEmpty()).isFalse();%0A    %7D%0A%0A    public void testAnnotationConfigApplicationContext() %7B%0A        AnnotationConfigApplicationContext annotationConfigApplicationContext = new AnnotationConfigApplicationContext();%0A        JsfCdiToSpringApplicationContextInitializer initializer = new JsfCdiToSpringApplicationContextInitializer();%0A        %0A        initializer.initialize(annotationConfigApplicationContext);%0A        %0A        assertThat(annotationConfigApplicationContext.getBeanFactoryPostProcessors().isEmpty()).isFalse();%0A    %7D%0A%0A%7D%0A

fix #92 JsfCdiToSpringApplicationContextInitializerTest created