org.jboss.seam.faces.test.environment
Class FacesContextProducerTest

java.lang.Object
  extended by 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

Constructor Summary
FacesContextProducerTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.Archive<?> createTestArchive()
           
 void testProducerThrowsExceptionWhenFacesContextNotActive()
           
 void testProducesContextualCurrentFacesContext()
           
 void testReturnsCurrentFacesContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesContextProducerTest

public FacesContextProducerTest()
Method Detail

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.