com.mockobjects.jms
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, verify
public QueueConnection createQueueConnection() throws JMSException
JMSException
public QueueConnection createQueueConnection(java.lang.String userName, java.lang.String password) throws JMSException
JMSException
public 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.