de.larmic.joinfaces.test.FacesContextMockApplicationContextInitializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of joinfaces-bean-test Show documentation
Show all versions of joinfaces-bean-test Show documentation
Demonstrates a way to create an JSF bean integration test
The newest version!
package de.larmic.joinfaces.test;
import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;
public class FacesContextMockApplicationContextInitializer implements ApplicationContextInitializer {
@Override
public void initialize(ConfigurableApplicationContext applicationContext) {
new FacesContextMock().replaceIn(applicationContext);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy