org.jivesoftware.smackx.bytestreams.ibb
Class DataListenerTest

java.lang.Object
  extended by org.jivesoftware.smackx.bytestreams.ibb.DataListenerTest

public class DataListenerTest
extends java.lang.Object

Test for the CloseListener class.

Author:
Henning Staib

Constructor Summary
DataListenerTest()
           
 
Method Summary
 void shouldReplyErrorIfSessionIsUnknown()
          If a data packet of an unknown session is received it should be replied with an <item-not-found/> error.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataListenerTest

public DataListenerTest()
Method Detail

shouldReplyErrorIfSessionIsUnknown

public void shouldReplyErrorIfSessionIsUnknown()
                                        throws java.lang.Exception
If a data packet of an unknown session is received it should be replied with an <item-not-found/> error.

Throws:
java.lang.Exception - should not happen