Sonar Fixes, Formatting
[aaf/authz.git] / misc / env / src / test / java / org / onap / aaf / misc / env / JU_NullLifeCycle.java
index e685dfe..1d0b29d 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
  *
  */
 
-package org.onap.aaf.misc.env.impl;
+package org.onap.aaf.misc.env;
 
 import org.junit.Test;
-import org.onap.aaf.misc.env.APIException;
+import org.onap.aaf.misc.env.impl.NullLifeCycle;
 
 public class JU_NullLifeCycle {
 
     @Test
     public void testServicePrestart() {
-       NullLifeCycle lifeCycleObj = new NullLifeCycle();
-       try {
-               lifeCycleObj.servicePrestart(null);
-               lifeCycleObj.serviceDestroy(null);
-               lifeCycleObj.threadDestroy(null);
-               lifeCycleObj.threadPrestart(null);
-               lifeCycleObj.refresh(null);
-       }catch(APIException a) {
-               
-       }
+        NullLifeCycle lifeCycleObj = new NullLifeCycle();
+        try {
+            lifeCycleObj.servicePrestart(null);
+            lifeCycleObj.serviceDestroy(null);
+            lifeCycleObj.threadDestroy(null);
+            lifeCycleObj.threadPrestart(null);
+            lifeCycleObj.refresh(null);
+        }catch(APIException a) {
+
+        }
     }
-   
+
 }
\ No newline at end of file