org.jboss.seam.faces.test.context
Class MockFlashContext
java.lang.Object
org.jboss.seam.faces.test.context.MockFlashContext
- All Implemented Interfaces:
- Serializable, org.jboss.seam.faces.context.RenderContext
@Typed(value=org.jboss.seam.faces.context.RenderContext.class)
public class MockFlashContext
- extends Object
- implements org.jboss.seam.faces.context.RenderContext, Serializable
A mock RenderContext that can be injected into tests.
- Author:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockFlashContext
public MockFlashContext()
get
public Object get(String key)
- Specified by:
get in interface org.jboss.seam.faces.context.RenderContext
getId
public Integer getId()
- Specified by:
getId in interface org.jboss.seam.faces.context.RenderContext
setId
public void setId(Integer id)
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface org.jboss.seam.faces.context.RenderContext
put
public void put(String key,
Object value)
- Specified by:
put in interface org.jboss.seam.faces.context.RenderContext
Copyright © 2009-2011 Seam Framework. All Rights Reserved.