mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-02 11:12:07 +01:00
17 lines
432 B
Java
17 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());
|
||
|
}
|
||
|
}
|