mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-30 10:12:06 +01: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)
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
}
|