Package com.mockobjects.jms

Examples of com.mockobjects.jms.MockTopic


/**
* @version $Rev: 46019 $ $Date: 2004-09-14 03:56:06 -0600 (Tue, 14 Sep 2004) $
*/
public class TopicRequestorTest extends TestCase {
    public void testConstructorNullTopic() {
        MockTopic topic = new MockTopic();

        try {
            new TopicRequestor(null, topic);
            fail();
        } catch (JMSException ex) {
            fail("JMSException should not have been thrown.");
        } catch (NullPointerException ex) {
            // success.
        }

        topic.verify();
    }
View Full Code Here


/**
* @version $Rev: 46019 $ $Date: 2004-09-14 04:56:06 -0500 (Tue, 14 Sep 2004) $
*/
public class TopicRequestorTest extends TestCase {
    public void testConstructorNullTopic() {
        MockTopic topic = new MockTopic();

        try {
            new TopicRequestor(null, topic);
            fail();
        } catch (JMSException ex) {
            fail("JMSException should not have been thrown.");
        } catch (NullPointerException ex) {
            // success.
        }

        topic.verify();
    }
View Full Code Here

/**
* @version $Revision: 1.3 $ $Date: 2004/03/10 10:00:04 $
*/
public class TopicRequestorTest extends TestCase {
    public void testConstructorNullTopic() {
        MockTopic topic = new MockTopic();

        try {
            new TopicRequestor(null, topic);
            fail();
        } catch (JMSException ex) {
            fail("JMSException should not have been thrown.");
        } catch (NullPointerException ex) {
            // success.
        }

        topic.verify();
    }
View Full Code Here

/**
* @version $Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $
*/
public class TopicRequestorTest extends TestCase {
    public void testConstructorNullTopic() {
        MockTopic topic = new MockTopic();

        try {
            new TopicRequestor(null, topic);
            fail();
        } catch (JMSException ex) {
            fail("JMSException should not have been thrown.");
        } catch (NullPointerException ex) {
            // success.
        }

        topic.verify();
    }
View Full Code Here

TOP

Related Classes of com.mockobjects.jms.MockTopic

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.