update the package name
[dmaap/messagerouter/messageservice.git] / src / test / java / org / onap / dmaap / tools / ConfigToolTest.java
-/*-\r
- * ============LICENSE_START=======================================================\r
- * ONAP Policy Engine\r
- * ================================================================================\r
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
- * ================================================================================\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- * \r
- *      http://www.apache.org/licenses/LICENSE-2.0\r
- * \r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- * ============LICENSE_END=========================================================\r
- */\r
-\r
-package com.att.nsa.dmaap.tools;\r
-\r
-import static org.junit.Assert.*;\r
-\r
-import java.lang.reflect.Constructor;\r
-import java.lang.reflect.InvocationTargetException;\r
-import java.lang.reflect.Method;\r
-\r
-import org.junit.After;\r
-import org.junit.Before;\r
-import org.junit.Test;\r
-\r
-public class ConfigToolTest {\r
-\r
-       private String[] parts = new String[5];\r
-\r
-       @Before\r
-       public void setUp() throws Exception {\r
-\r
-               for (int i = 0; i < parts.length; i++) {\r
-                       parts[i] = "string" + (i + 1);\r
-               }\r
-       }\r
-\r
-       @After\r
-       public void tearDown() throws Exception {\r
-       }\r
-\r
-       public void callMethodViaReflection(String outer, String inner, String methodName, Object... args) {\r
-\r
-               String foreNameString = outer + "$" + inner;\r
-               Object parent = new ConfigTool();\r
-\r
-               Class<?> innerClass;\r
-               try {\r
-                       innerClass = Class.forName(foreNameString);\r
-                       Constructor<?> constructor = innerClass.getDeclaredConstructor(ConfigTool.class);\r
-                       constructor.setAccessible(true);\r
-                       Object child = constructor.newInstance(parent);\r
-\r
-                       // invoking method on inner class object\r
-                       Method method = innerClass.getDeclaredMethod(methodName, null);\r
-                       method.setAccessible(true);// in case of unaccessible method\r
-                       method.invoke(child, args);\r
-               } catch (ClassNotFoundException e) {\r
-                       // TODO Auto-generated catch block\r
-                       e.printStackTrace();\r
-               } catch (NoSuchMethodException e) {\r
-                       // TODO Auto-generated catch block\r
-                       e.printStackTrace();\r
-               } catch (SecurityException e) {\r
-                       // TODO Auto-generated catch block\r
-                       e.printStackTrace();\r
-               } catch (InstantiationException e) {\r
-                       // TODO Auto-generated catch block\r
-                       e.printStackTrace();\r
-               } catch (IllegalAccessException e) {\r
-                       // TODO Auto-generated catch block\r
-                       e.printStackTrace();\r
-               } catch (IllegalArgumentException e) {\r
-                       // TODO Auto-generated catch block\r
-                       e.printStackTrace();\r
-               } catch (InvocationTargetException e) {\r
-                       // TODO Auto-generated catch block\r
-                       e.printStackTrace();\r
-               }\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testGetMatches() {\r
-\r
-               callMethodViaReflection("ConfigTool", "ListTopicCommand", "getMatches");\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testCheckReady() {\r
-\r
-               callMethodViaReflection("ConfigTool", "ListTopicCommand", "checkReady", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testExecute() {\r
-\r
-               callMethodViaReflection("ConfigTool", "ListTopicCommand", "execute", parts, null, null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testDisplayHelp() {\r
-\r
-               callMethodViaReflection("ConfigTool", "ListTopicCommand", "displayHelp", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testGetMatches2() {\r
-\r
-               callMethodViaReflection("ConfigTool", "WriteTopicCommand", "getMatches");\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testCheckReady2() {\r
-\r
-               callMethodViaReflection("ConfigTool", "WriteTopicCommand", "checkReady", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testExecute2() {\r
-\r
-               callMethodViaReflection("ConfigTool", "WriteTopicCommand", "execute", parts, null, null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testDisplayHelp2() {\r
-\r
-               callMethodViaReflection("ConfigTool", "WriteTopicCommand", "displayHelp", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testGetMatches3() {\r
-\r
-               callMethodViaReflection("ConfigTool", "ReadTopicCommand", "getMatches");\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testCheckReady3() {\r
-\r
-               callMethodViaReflection("ConfigTool", "ReadTopicCommand", "checkReady", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testExecute3() {\r
-\r
-               callMethodViaReflection("ConfigTool", "ReadTopicCommand", "execute", parts, null, null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testDisplayHelp3() {\r
-\r
-               callMethodViaReflection("ConfigTool", "ReadTopicCommand", "displayHelp", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testGetMatches4() {\r
-\r
-               callMethodViaReflection("ConfigTool", "InitSecureTopicCommand", "getMatches");\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testCheckReady4() {\r
-\r
-               callMethodViaReflection("ConfigTool", "InitSecureTopicCommand", "checkReady", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testExecute4() {\r
-\r
-               callMethodViaReflection("ConfigTool", "InitSecureTopicCommand", "execute", parts, null, null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testDisplayHelp4() {\r
-\r
-               callMethodViaReflection("ConfigTool", "InitSecureTopicCommand", "displayHelp", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testGetMatches5() {\r
-\r
-               callMethodViaReflection("ConfigTool", "SetTopicOwnerCommand", "getMatches");\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testCheckReady5() {\r
-\r
-               callMethodViaReflection("ConfigTool", "SetTopicOwnerCommand", "checkReady", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testExecute5() {\r
-\r
-               callMethodViaReflection("ConfigTool", "SetTopicOwnerCommand", "execute", parts, null, null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testDisplayHelp5() {\r
-\r
-               callMethodViaReflection("ConfigTool", "SetTopicOwnerCommand", "displayHelp", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-       \r
-       @Test\r
-       public void testGetMatches6() {\r
-\r
-               callMethodViaReflection("ConfigTool", "ListApiKeysCommand", "getMatches");\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testCheckReady6() {\r
-\r
-               callMethodViaReflection("ConfigTool", "ListApiKeysCommand", "checkReady", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testExecute6() {\r
-\r
-               callMethodViaReflection("ConfigTool", "ListApiKeysCommand", "execute", parts, null, null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testDisplayHelp6() {\r
-\r
-               callMethodViaReflection("ConfigTool", "ListApiKeysCommand", "displayHelp", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-       \r
-       @Test\r
-       public void testGetMatches7() {\r
-\r
-               callMethodViaReflection("ConfigTool", "PutApiCommand", "getMatches");\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testCheckReady7() {\r
-\r
-               callMethodViaReflection("ConfigTool", "PutApiCommand", "checkReady", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testExecute7() {\r
-\r
-               callMethodViaReflection("ConfigTool", "PutApiCommand", "execute", parts, null, null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testDisplayHelp7() {\r
-\r
-               callMethodViaReflection("ConfigTool", "PutApiCommand", "displayHelp", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-       \r
-       @Test\r
-       public void testGetMatches8() {\r
-\r
-               callMethodViaReflection("ConfigTool", "writeApiKeyCommand", "getMatches");\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testCheckReady8() {\r
-\r
-               callMethodViaReflection("ConfigTool", "writeApiKeyCommand", "checkReady", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testExecute8() {\r
-\r
-               callMethodViaReflection("ConfigTool", "writeApiKeyCommand", "execute", parts, null, null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testDisplayHelp8() {\r
-\r
-               callMethodViaReflection("ConfigTool", "writeApiKeyCommand", "displayHelp", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-       \r
-       @Test\r
-       public void testGetMatches9() {\r
-\r
-               callMethodViaReflection("ConfigTool", "EncryptApiKeysCommand", "getMatches");\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testCheckReady9() {\r
-\r
-               callMethodViaReflection("ConfigTool", "EncryptApiKeysCommand", "checkReady", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testExecute9() {\r
-\r
-               callMethodViaReflection("ConfigTool", "EncryptApiKeysCommand", "execute", parts, null, null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testDisplayHelp9() {\r
-\r
-               callMethodViaReflection("ConfigTool", "EncryptApiKeysCommand", "displayHelp", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-       \r
-       @Test\r
-       public void testGetMatches10() {\r
-\r
-               callMethodViaReflection("ConfigTool", "DecryptApiKeysCommand", "getMatches");\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testCheckReady10() {\r
-\r
-               callMethodViaReflection("ConfigTool", "DecryptApiKeysCommand", "checkReady", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testExecute10() {\r
-\r
-               callMethodViaReflection("ConfigTool", "DecryptApiKeysCommand", "execute", parts, null, null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testDisplayHelp10() {\r
-\r
-               callMethodViaReflection("ConfigTool", "DecryptApiKeysCommand", "displayHelp", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-       \r
-       @Test\r
-       public void testGetMatches11() {\r
-\r
-               callMethodViaReflection("ConfigTool", "NodeFetchCommand", "getMatches");\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testCheckReady11() {\r
-\r
-               callMethodViaReflection("ConfigTool", "NodeFetchCommand", "checkReady", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testExecute11() {\r
-\r
-               callMethodViaReflection("ConfigTool", "NodeFetchCommand", "execute", parts, null, null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testDisplayHelp11() {\r
-\r
-               callMethodViaReflection("ConfigTool", "NodeFetchCommand", "displayHelp", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-       \r
-       @Test\r
-       public void testGetMatches12() {\r
-\r
-               callMethodViaReflection("ConfigTool", "DropOldConsumerGroupsCommand", "getMatches");\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testCheckReady12() {\r
-\r
-               callMethodViaReflection("ConfigTool", "DropOldConsumerGroupsCommand", "checkReady", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testExecute12() {\r
-\r
-               callMethodViaReflection("ConfigTool", "DropOldConsumerGroupsCommand", "execute", parts, null, null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
-\r
-       @Test\r
-       public void testDisplayHelp12() {\r
-\r
-               callMethodViaReflection("ConfigTool", "DropOldConsumerGroupsCommand", "displayHelp", null);\r
-\r
-               assertTrue(true);\r
-\r
-       }\r
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP Policy Engine
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+ package org.onap.dmaap.tools;
+
+import static org.junit.Assert.*;
+
+import java.lang.reflect.Constructor;
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+public class ConfigToolTest {
+
+       private String[] parts = new String[5];
+
+       @Before
+       public void setUp() throws Exception {
+
+               for (int i = 0; i < parts.length; i++) {
+                       parts[i] = "string" + (i + 1);
+               }
+       }
+
+       @After
+       public void tearDown() throws Exception {
+       }
+
+       public void callMethodViaReflection(String outer, String inner, String methodName, Object... args) {
+
+               String foreNameString = outer + "$" + inner;
+               Object parent = new ConfigTool();
+
+               Class<?> innerClass;
+               try {
+                       innerClass = Class.forName(foreNameString);
+                       Constructor<?> constructor = innerClass.getDeclaredConstructor(ConfigTool.class);
+                       constructor.setAccessible(true);
+                       Object child = constructor.newInstance(parent);
+
+                       // invoking method on inner class object
+                       Method method = innerClass.getDeclaredMethod(methodName, null);
+                       method.setAccessible(true);// in case of unaccessible method
+                       method.invoke(child, args);
+               } catch (ClassNotFoundException e) {
+                       // TODO Auto-generated catch block
+                       e.printStackTrace();
+               } catch (NoSuchMethodException e) {
+                       // TODO Auto-generated catch block
+                       e.printStackTrace();
+               } catch (SecurityException e) {
+                       // TODO Auto-generated catch block
+                       e.printStackTrace();
+               } catch (InstantiationException e) {
+                       // TODO Auto-generated catch block
+                       e.printStackTrace();
+               } catch (IllegalAccessException e) {
+                       // TODO Auto-generated catch block
+                       e.printStackTrace();
+               } catch (IllegalArgumentException e) {
+                       // TODO Auto-generated catch block
+                       e.printStackTrace();
+               } catch (InvocationTargetException e) {
+                       // TODO Auto-generated catch block
+                       e.printStackTrace();
+               }
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testGetMatches() {
+
+               callMethodViaReflection("ConfigTool", "ListTopicCommand", "getMatches");
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testCheckReady() {
+
+               callMethodViaReflection("ConfigTool", "ListTopicCommand", "checkReady", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testExecute() {
+
+               callMethodViaReflection("ConfigTool", "ListTopicCommand", "execute", parts, null, null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testDisplayHelp() {
+
+               callMethodViaReflection("ConfigTool", "ListTopicCommand", "displayHelp", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testGetMatches2() {
+
+               callMethodViaReflection("ConfigTool", "WriteTopicCommand", "getMatches");
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testCheckReady2() {
+
+               callMethodViaReflection("ConfigTool", "WriteTopicCommand", "checkReady", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testExecute2() {
+
+               callMethodViaReflection("ConfigTool", "WriteTopicCommand", "execute", parts, null, null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testDisplayHelp2() {
+
+               callMethodViaReflection("ConfigTool", "WriteTopicCommand", "displayHelp", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testGetMatches3() {
+
+               callMethodViaReflection("ConfigTool", "ReadTopicCommand", "getMatches");
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testCheckReady3() {
+
+               callMethodViaReflection("ConfigTool", "ReadTopicCommand", "checkReady", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testExecute3() {
+
+               callMethodViaReflection("ConfigTool", "ReadTopicCommand", "execute", parts, null, null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testDisplayHelp3() {
+
+               callMethodViaReflection("ConfigTool", "ReadTopicCommand", "displayHelp", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testGetMatches4() {
+
+               callMethodViaReflection("ConfigTool", "InitSecureTopicCommand", "getMatches");
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testCheckReady4() {
+
+               callMethodViaReflection("ConfigTool", "InitSecureTopicCommand", "checkReady", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testExecute4() {
+
+               callMethodViaReflection("ConfigTool", "InitSecureTopicCommand", "execute", parts, null, null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testDisplayHelp4() {
+
+               callMethodViaReflection("ConfigTool", "InitSecureTopicCommand", "displayHelp", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testGetMatches5() {
+
+               callMethodViaReflection("ConfigTool", "SetTopicOwnerCommand", "getMatches");
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testCheckReady5() {
+
+               callMethodViaReflection("ConfigTool", "SetTopicOwnerCommand", "checkReady", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testExecute5() {
+
+               callMethodViaReflection("ConfigTool", "SetTopicOwnerCommand", "execute", parts, null, null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testDisplayHelp5() {
+
+               callMethodViaReflection("ConfigTool", "SetTopicOwnerCommand", "displayHelp", null);
+
+               assertTrue(true);
+
+       }
+       
+       @Test
+       public void testGetMatches6() {
+
+               callMethodViaReflection("ConfigTool", "ListApiKeysCommand", "getMatches");
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testCheckReady6() {
+
+               callMethodViaReflection("ConfigTool", "ListApiKeysCommand", "checkReady", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testExecute6() {
+
+               callMethodViaReflection("ConfigTool", "ListApiKeysCommand", "execute", parts, null, null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testDisplayHelp6() {
+
+               callMethodViaReflection("ConfigTool", "ListApiKeysCommand", "displayHelp", null);
+
+               assertTrue(true);
+
+       }
+       
+       @Test
+       public void testGetMatches7() {
+
+               callMethodViaReflection("ConfigTool", "PutApiCommand", "getMatches");
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testCheckReady7() {
+
+               callMethodViaReflection("ConfigTool", "PutApiCommand", "checkReady", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testExecute7() {
+
+               callMethodViaReflection("ConfigTool", "PutApiCommand", "execute", parts, null, null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testDisplayHelp7() {
+
+               callMethodViaReflection("ConfigTool", "PutApiCommand", "displayHelp", null);
+
+               assertTrue(true);
+
+       }
+       
+       @Test
+       public void testGetMatches8() {
+
+               callMethodViaReflection("ConfigTool", "writeApiKeyCommand", "getMatches");
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testCheckReady8() {
+
+               callMethodViaReflection("ConfigTool", "writeApiKeyCommand", "checkReady", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testExecute8() {
+
+               callMethodViaReflection("ConfigTool", "writeApiKeyCommand", "execute", parts, null, null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testDisplayHelp8() {
+
+               callMethodViaReflection("ConfigTool", "writeApiKeyCommand", "displayHelp", null);
+
+               assertTrue(true);
+
+       }
+       
+       @Test
+       public void testGetMatches9() {
+
+               callMethodViaReflection("ConfigTool", "EncryptApiKeysCommand", "getMatches");
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testCheckReady9() {
+
+               callMethodViaReflection("ConfigTool", "EncryptApiKeysCommand", "checkReady", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testExecute9() {
+
+               callMethodViaReflection("ConfigTool", "EncryptApiKeysCommand", "execute", parts, null, null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testDisplayHelp9() {
+
+               callMethodViaReflection("ConfigTool", "EncryptApiKeysCommand", "displayHelp", null);
+
+               assertTrue(true);
+
+       }
+       
+       @Test
+       public void testGetMatches10() {
+
+               callMethodViaReflection("ConfigTool", "DecryptApiKeysCommand", "getMatches");
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testCheckReady10() {
+
+               callMethodViaReflection("ConfigTool", "DecryptApiKeysCommand", "checkReady", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testExecute10() {
+
+               callMethodViaReflection("ConfigTool", "DecryptApiKeysCommand", "execute", parts, null, null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testDisplayHelp10() {
+
+               callMethodViaReflection("ConfigTool", "DecryptApiKeysCommand", "displayHelp", null);
+
+               assertTrue(true);
+
+       }
+       
+       @Test
+       public void testGetMatches11() {
+
+               callMethodViaReflection("ConfigTool", "NodeFetchCommand", "getMatches");
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testCheckReady11() {
+
+               callMethodViaReflection("ConfigTool", "NodeFetchCommand", "checkReady", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testExecute11() {
+
+               callMethodViaReflection("ConfigTool", "NodeFetchCommand", "execute", parts, null, null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testDisplayHelp11() {
+
+               callMethodViaReflection("ConfigTool", "NodeFetchCommand", "displayHelp", null);
+
+               assertTrue(true);
+
+       }
+       
+       @Test
+       public void testGetMatches12() {
+
+               callMethodViaReflection("ConfigTool", "DropOldConsumerGroupsCommand", "getMatches");
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testCheckReady12() {
+
+               callMethodViaReflection("ConfigTool", "DropOldConsumerGroupsCommand", "checkReady", null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testExecute12() {
+
+               callMethodViaReflection("ConfigTool", "DropOldConsumerGroupsCommand", "execute", parts, null, null);
+
+               assertTrue(true);
+
+       }
+
+       @Test
+       public void testDisplayHelp12() {
+
+               callMethodViaReflection("ConfigTool", "DropOldConsumerGroupsCommand", "displayHelp", null);
+
+               assertTrue(true);
+
+       }
 }
\ No newline at end of file