org.jivesoftware.smackx.bytestreams.ibb
Class InBandBytestreamRequestTest

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

public class InBandBytestreamRequestTest
extends java.lang.Object

Test for InBandBytestreamRequest.

Author:
Henning Staib

Constructor Summary
InBandBytestreamRequestTest()
           
 
Method Summary
 void setup()
          Initialize fields used in the tests.
 void shouldReplyWithErrorIfRequestIsRejected()
          Test reject() method.
 void shouldReturnSessionIfRequestIsAccepted()
          Test accept() method.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InBandBytestreamRequestTest

public InBandBytestreamRequestTest()
Method Detail

setup

public void setup()
Initialize fields used in the tests.


shouldReplyWithErrorIfRequestIsRejected

public void shouldReplyWithErrorIfRequestIsRejected()
Test reject() method.


shouldReturnSessionIfRequestIsAccepted

public void shouldReturnSessionIfRequestIsAccepted()
                                            throws java.lang.Exception
Test accept() method.

Throws:
java.lang.Exception - should not happen