com.mockobjects.jms

Class MockObjectMessage

Implemented Interfaces:
Message, ObjectMessage, Verifiable

public class MockObjectMessage
extends MockMessage
implements ObjectMessage

Method Summary

Serializable
getObject()
void
setObject(Serializable serialisable)
void
setupGetObject(Serializable objectToReturn)

Methods inherited from class com.mockobjects.jms.MockMessage

acknowledge, clearBody, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setExpectedAcknowledgeCalls, setExpectedJMSReplyTo, setExpectedSetJMSCorrelationIDCalls, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty, setupJMSMessageID, setupThrowException

Methods inherited from class com.mockobjects.MockObject

notImplemented, notYetImplemented, verify

Method Details

getObject

public Serializable getObject()
            throws JMSException

setObject

public void setObject(Serializable serialisable)
            throws JMSException

setupGetObject

public void setupGetObject(Serializable objectToReturn)

Copyright © 2002 Mock Objects. All Rights Reserved.