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 TypeMethodDescriptionQueueConnection
QueueConnection
createQueueConnection
(String userName, String password) void
setExpectedPassword
(String password) void
setExpectedUserName
(String userName) void
setupQueueConnection
(QueueConnection queueConnection) void
setupThrowException
(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)
-