******************************************************************************/
package org.onap.aaf.auth.cmd.test.ns;
+import org.junit.Assert;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
+import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
@RunWith(MockitoJUnitRunner.class)
public class JU_ListChildren {
-//
-// private static ListChildren lsChildren;
-//
-// @BeforeClass
-// public static void setUp () throws NoSuchFieldException, SecurityException, Exception, IllegalAccessException {
-// AAFcli cli = JU_AAFCli.getAAfCli();
-// NS ns = new NS(cli);
-// List ls = new List(ns);
-// lsChildren = new ListChildren(ls);
-// }
-//
+
+ private static ListChildren lsChildren;
+
+ @BeforeClass
+ public static void setUp () throws NoSuchFieldException, SecurityException, Exception, IllegalAccessException {
+ AAFcli cli = JU_AAFCli.getAAfCli();
+ NS ns = new NS(cli);
+ List ls = new List(ns);
+ lsChildren = new ListChildren(ls);
+ }
+
// @Test
// public void exec() {
// try {
// }
// }
- @Test //TODO: Temporary fix AAF-111
- public void netYetTested() {
- fail("Tests not yet implemented");
+ @Test
+ public void testDetailedHelp() {
+ StringBuilder sb = new StringBuilder();
+ lsChildren.detailedHelp(0, sb );
}
}