public class MockConnection extends MockObject
| Constructor and Description |
|---|
MockConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.String |
getClientID() |
ExceptionListener |
getExceptionListener() |
ConnectionMetaData |
getMetaData() |
void |
setClientID(java.lang.String clientID) |
void |
setExceptionListener(ExceptionListener listener) |
void |
setExpectedCloseCalls(int callCount) |
void |
setExpectedStartCalls(int callCount) |
void |
setExpectedStopCalls(int callCount) |
void |
setupThrowException(JMSException e) |
void |
start() |
void |
stop() |
notImplemented, notYetImplemented, verifypublic void close()
throws JMSException
JMSExceptionpublic java.lang.String getClientID()
throws JMSException
JMSExceptionpublic ExceptionListener getExceptionListener()
throws JMSException
JMSExceptionpublic ConnectionMetaData getMetaData()
throws JMSException
JMSExceptionpublic void setClientID(java.lang.String clientID)
throws JMSException
JMSExceptionpublic void setExceptionListener(ExceptionListener listener)
throws JMSException
JMSExceptionpublic void start()
throws JMSException
JMSExceptionpublic void stop()
throws JMSException
JMSExceptionpublic void setExpectedCloseCalls(int callCount)
public void setExpectedStartCalls(int callCount)
public void setExpectedStopCalls(int callCount)
public void setupThrowException(JMSException e)
Copyright © 2002 Mock Objects. All Rights Reserved.