org.stringtree.mock.jms
Class MockBrowser

java.lang.Object
  extended by org.stringtree.mock.RecordingMock
      extended by org.stringtree.mock.jms.MockBrowser
All Implemented Interfaces:
javax.jms.QueueBrowser

public class MockBrowser
extends RecordingMock
implements javax.jms.QueueBrowser


Field Summary
 
Fields inherited from class org.stringtree.mock.RecordingMock
exception, recorded, verbose
 
Constructor Summary
MockBrowser()
           
 
Method Summary
 void close()
           
 java.util.Enumeration getEnumeration()
           
 java.lang.String getMessageSelector()
           
 javax.jms.Queue getQueue()
           
 
Methods inherited from class org.stringtree.mock.RecordingMock
assertCalled, assertCalled, assertCalled, assertCalled, assertNotCalled, assertNotCalled, clear, record, record, record, setException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockBrowser

public MockBrowser()
Method Detail

getQueue

public javax.jms.Queue getQueue()
                         throws javax.jms.JMSException
Specified by:
getQueue in interface javax.jms.QueueBrowser
Throws:
javax.jms.JMSException

getMessageSelector

public java.lang.String getMessageSelector()
                                    throws javax.jms.JMSException
Specified by:
getMessageSelector in interface javax.jms.QueueBrowser
Throws:
javax.jms.JMSException

getEnumeration

public java.util.Enumeration getEnumeration()
                                     throws javax.jms.JMSException
Specified by:
getEnumeration in interface javax.jms.QueueBrowser
Throws:
javax.jms.JMSException

close

public void close()
           throws javax.jms.JMSException
Specified by:
close in interface javax.jms.QueueBrowser
Throws:
javax.jms.JMSException