mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-27 13:07:58 +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)
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
}
|