Class MockEvent
- java.lang.Object
- org.springframework.mock.web.portlet.MockEvent
Constructor Summary
Constructors Constructor Description MockEvent(String name)
Create a new MockEvent with the given name.MockEvent(String name, Serializable value)
Create a new MockEvent with the given name and value.MockEvent(QName name)
Create a new MockEvent with the given name.MockEvent(QName name, Serializable value)
Create a new MockEvent with the given name and value.
Constructor Detail
MockEvent
public MockEvent(QName name)
Create a new MockEvent with the given name.- Parameters:
name
- the name of the event
MockEvent
public MockEvent(QName name, Serializable value)
Create a new MockEvent with the given name and value.- Parameters:
name
- the name of the eventvalue
- the associated payload of the event
MockEvent
public MockEvent(String name)
Create a new MockEvent with the given name.- Parameters:
name
- the name of the event
MockEvent
public MockEvent(String name, Serializable value)
Create a new MockEvent with the given name and value.- Parameters:
name
- the name of the eventvalue
- the associated payload of the event