Package com.mockobjects.jms
Class MockQueueConnectionFactory
java.lang.Object
com.mockobjects.MockObject
com.mockobjects.jms.MockQueueConnectionFactory
- All Implemented Interfaces:
Verifiable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionQueueConnectionQueueConnectioncreateQueueConnection(String userName, String password) voidsetExpectedPassword(String password) voidsetExpectedUserName(String userName) voidsetupQueueConnection(QueueConnection queueConnection) voidsetupThrowException(JMSException e) Methods inherited from class com.mockobjects.MockObject
notImplemented, notYetImplemented, verify
-
Constructor Details
-
MockQueueConnectionFactory
public MockQueueConnectionFactory()
-
-
Method Details
-
createQueueConnection
public QueueConnection createQueueConnection() throws JMSException- Throws:
JMSException
-
createQueueConnection
- Throws:
JMSException
-
setExpectedUserName
-
setExpectedPassword
-
setupQueueConnection
public void setupQueueConnection(QueueConnection queueConnection) -
setupThrowException
public void setupThrowException(JMSException e)
-