org.jboss.seam.faces.test.environment
Class FacesContextProducerTest
java.lang.Object
org.jboss.seam.faces.test.environment.FacesContextProducerTest
public class FacesContextProducerTest
- extends Object
Verify that the FacesContextProducer produces the same FacesContext as returned by FacesContext#getCurrentInstance() and by
the CDI producer method.
- Author:
- Dan Allen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacesContextProducerTest
public FacesContextProducerTest()
createTestArchive
@Deployment
public static org.jboss.shrinkwrap.api.Archive<?> createTestArchive()
testReturnsCurrentFacesContext
public void testReturnsCurrentFacesContext()
testProducesContextualCurrentFacesContext
public void testProducesContextualCurrentFacesContext()
testProducerThrowsExceptionWhenFacesContextNotActive
public void testProducerThrowsExceptionWhenFacesContextNotActive()
Copyright © 2009-2011 Seam Framework. All Rights Reserved.