org.stringtree.mock.jms
Class MockServerSession

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

public class MockServerSession
extends RecordingMock
implements javax.jms.ServerSession


Field Summary
 
Fields inherited from class org.stringtree.mock.RecordingMock
exception, recorded, verbose
 
Constructor Summary
MockServerSession()
           
 
Method Summary
 javax.jms.Session getSession()
           
 void start()
           
 
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

MockServerSession

public MockServerSession()
Method Detail

getSession

public javax.jms.Session getSession()
                             throws javax.jms.JMSException
Specified by:
getSession in interface javax.jms.ServerSession
Throws:
javax.jms.JMSException

start

public void start()
           throws javax.jms.JMSException
Specified by:
start in interface javax.jms.ServerSession
Throws:
javax.jms.JMSException