com.mockobjects.jms

Class MockTextMessage

Implemented Interfaces:
Message, TextMessage, Verifiable

public class MockTextMessage
extends MockMessage
implements TextMessage

Method Summary

String
getText()
void
setExpectedText(String text)
void
setText(String text)
void
setupGetText(String text)

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

getText

public String getText()

setExpectedText

public void setExpectedText(String text)

setText

public void setText(String text)

setupGetText

public void setupGetText(String text)

Copyright © 2002 Mock Objects. All Rights Reserved.