mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-16 09: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)
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
}
|