Replaced all tabs with spaces in java and pom.xml
[so.git] / mso-catalog-db / src / test / java / org / onap / so / db / catalog / ControllerSelectionReferenceTest.java
index 489f8a0..f367064 100644 (file)
@@ -22,7 +22,6 @@ package org.onap.so.db.catalog;
 
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
-
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.onap.so.db.catalog.beans.ControllerSelectionReference;
@@ -37,32 +36,32 @@ import org.springframework.test.context.junit4.SpringRunner;
 @ActiveProfiles("test")
 public class ControllerSelectionReferenceTest {
 
-       @Autowired
-       private ControllerSelectionReferenceRepository controllerSelectionReferenceRepository;
-       
-       @Test
-       public void Find_ControllerNameByVnfTypeAndAction_Test() {
-               String vnfType = "vLoadBalancerMS/vLoadBalancerMS 0";
-               String controllerName = "APPC";
-               String actionCategory = "ConfigScaleOut";
-               ControllerSelectionReference controller = 
-                               controllerSelectionReferenceRepository.findControllerSelectionReferenceByVnfTypeAndActionCategory(vnfType, actionCategory);
-               assertEquals(vnfType, controller.getVnfType());
-               assertEquals(controllerName, controller.getControllerName());
-               assertEquals(actionCategory, controller.getActionCategory());
-       }
-       
-       @Test
-       public final void controllerDataTest() {
-               ControllerSelectionReference controller = new ControllerSelectionReference();
+    @Autowired
+    private ControllerSelectionReferenceRepository controllerSelectionReferenceRepository;
+
+    @Test
+    public void Find_ControllerNameByVnfTypeAndAction_Test() {
+        String vnfType = "vLoadBalancerMS/vLoadBalancerMS 0";
+        String controllerName = "APPC";
+        String actionCategory = "ConfigScaleOut";
+        ControllerSelectionReference controller = controllerSelectionReferenceRepository
+                .findControllerSelectionReferenceByVnfTypeAndActionCategory(vnfType, actionCategory);
+        assertEquals(vnfType, controller.getVnfType());
+        assertEquals(controllerName, controller.getControllerName());
+        assertEquals(actionCategory, controller.getActionCategory());
+    }
+
+    @Test
+    public final void controllerDataTest() {
+        ControllerSelectionReference controller = new ControllerSelectionReference();
 
-               controller.setVnfType("vnfType");
-               assertTrue(controller.getVnfType().equalsIgnoreCase("vnfType"));
+        controller.setVnfType("vnfType");
+        assertTrue(controller.getVnfType().equalsIgnoreCase("vnfType"));
 
-               controller.setControllerName("controllerName");
-               assertTrue(controller.getControllerName().equalsIgnoreCase("controllerName"));
+        controller.setControllerName("controllerName");
+        assertTrue(controller.getControllerName().equalsIgnoreCase("controllerName"));
 
-               controller.setActionCategory("actionCategory");
-               assertTrue(controller.getActionCategory().equalsIgnoreCase("actionCategory"));
-       }
+        controller.setActionCategory("actionCategory");
+        assertTrue(controller.getActionCategory().equalsIgnoreCase("actionCategory"));
+    }
 }