mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-05 11:45:58 +01:00
750cfa64b0
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@12213 b35dd754-fafc-0310-a699-88a17e54d16e
16 lines
432 B
Java
16 lines
432 B
Java
package org.jivesoftware.smackx.pubsub;
|
|
|
|
import static org.junit.Assert.assertEquals;
|
|
|
|
import org.junit.Test;
|
|
|
|
public class ConfigureFormTest
|
|
{
|
|
@Test
|
|
public void checkChildrenAssocPolicy()
|
|
{
|
|
ConfigureForm form = new ConfigureForm(FormType.submit);
|
|
form.setChildrenAssociationPolicy(ChildrenAssociationPolicy.owners);
|
|
assertEquals(ChildrenAssociationPolicy.owners, form.getChildrenAssociationPolicy());
|
|
}
|
|
}
|