mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-09-11 18:50:28 +02:00
23 lines
429 B
Java
23 lines
429 B
Java
|
/*
|
||
|
* Created on 2009-04-09
|
||
|
*/
|
||
|
package org.jivesoftware.smackx.pubsub;
|
||
|
|
||
|
import org.jivesoftware.smack.XMPPException;
|
||
|
import org.jivesoftware.smackx.pubsub.test.SingleUserTestCase;
|
||
|
|
||
|
public class TestAPI extends SingleUserTestCase
|
||
|
{
|
||
|
public void testGetNonexistentNode()
|
||
|
{
|
||
|
try
|
||
|
{
|
||
|
getManager().getNode("" + System.currentTimeMillis());
|
||
|
assertTrue(false);
|
||
|
}
|
||
|
catch (XMPPException e)
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
}
|