/**
* @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();
}