public class MockQueueConnectionFactory extends MockObject
| Constructor and Description |
|---|
MockQueueConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
QueueConnection |
createQueueConnection() |
QueueConnection |
createQueueConnection(java.lang.String userName,
java.lang.String password) |
void |
setExpectedPassword(java.lang.String password) |
void |
setExpectedUserName(java.lang.String userName) |
void |
setupQueueConnection(QueueConnection queueConnection) |
void |
setupThrowException(JMSException e) |
notImplemented, notYetImplemented, verifypublic QueueConnection createQueueConnection()
throws JMSException
JMSExceptionpublic QueueConnection createQueueConnection(java.lang.String userName,
java.lang.String password)
throws JMSException
JMSExceptionpublic void setExpectedUserName(java.lang.String userName)
public void setExpectedPassword(java.lang.String password)
public void setupQueueConnection(QueueConnection queueConnection)
public void setupThrowException(JMSException e)
Copyright © 2002 Mock Objects. All Rights Reserved.