org.jivesoftware.smackx.bytestreams.ibb.packet
Class OpenTest

java.lang.Object
  extended by org.jivesoftware.smackx.bytestreams.ibb.packet.OpenTest

public class OpenTest
extends java.lang.Object

Test for the Open class.

Author:
Henning Staib

Constructor Summary
OpenTest()
           
 
Method Summary
 void shouldBeOfIQTypeSET()
           
 void shouldNotInstantiateWithInvalidArguments1()
           
 void shouldNotInstantiateWithInvalidArguments2()
           
 void shouldNotInstantiateWithInvalidArguments3()
           
 void shouldReturnValidIQStanzaXML()
           
 void shouldSetAllFieldsCorrectly()
           
 void shouldSetIQStanzaAsDefault()
           
 void shouldUseMessageStanzaIfGiven()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenTest

public OpenTest()
Method Detail

shouldNotInstantiateWithInvalidArguments1

public void shouldNotInstantiateWithInvalidArguments1()

shouldNotInstantiateWithInvalidArguments2

public void shouldNotInstantiateWithInvalidArguments2()

shouldNotInstantiateWithInvalidArguments3

public void shouldNotInstantiateWithInvalidArguments3()

shouldSetIQStanzaAsDefault

public void shouldSetIQStanzaAsDefault()

shouldUseMessageStanzaIfGiven

public void shouldUseMessageStanzaIfGiven()

shouldBeOfIQTypeSET

public void shouldBeOfIQTypeSET()

shouldSetAllFieldsCorrectly

public void shouldSetAllFieldsCorrectly()

shouldReturnValidIQStanzaXML

public void shouldReturnValidIQStanzaXML()
                                  throws java.lang.Exception
Throws:
java.lang.Exception