org.jboss.seam.faces.test.environment
Class ExternalContextProducerTest
java.lang.Object
org.jboss.seam.faces.test.environment.ExternalContextProducerTest
public class ExternalContextProducerTest
- extends Object
Verify that the ExternalContextProducer produces the same ExternalContext as returned by FacesContext#getExternalContext()
and 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 |
ExternalContextProducerTest
public ExternalContextProducerTest()
createTestArchive
@Deployment
public static org.jboss.shrinkwrap.api.Archive<?> createTestArchive()
testReturnsCurrentExternalContext
public void testReturnsCurrentExternalContext()
testProducesContextualCurrentFacesContext
public void testProducesContextualCurrentFacesContext()
testProducerThrowsExceptionWhenFacesContextNotActive
public void testProducerThrowsExceptionWhenFacesContextNotActive()
Copyright © 2009-2011 Seam Framework. All Rights Reserved.