Replaced all tabs with spaces in java and pom.xml
[so.git] / bpmn / so-bpmn-infrastructure-common / src / test / java / org / onap / so / bpmn / infrastructure / BeansTest.java
index f69521f..1c4074c 100644 (file)
@@ -21,7 +21,6 @@
 package org.onap.so.bpmn.infrastructure;
 
 import org.junit.Test;
-
 import com.openpojo.validation.Validator;
 import com.openpojo.validation.ValidatorBuilder;
 import com.openpojo.validation.rule.impl.GetterMustExistRule;
@@ -38,35 +37,31 @@ import com.openpojo.reflection.filters.FilterPackageInfo;
 public class BeansTest {
 
 
-       private PojoClassFilter filterTestClasses = new FilterTestClasses();
-       
-       private PojoClassFilter  enumFilter = new FilterEnum();
-       
+    private PojoClassFilter filterTestClasses = new FilterTestClasses();
+
+    private PojoClassFilter enumFilter = new FilterEnum();
+
+
+    @Test
+    public void pojoStructure() {
+        test("org.onap.so.bpmn.infrastructure.workflow.serviceTask.client.entity");
+    }
+
+    private void test(String pojoPackage) {
+        Validator validator = ValidatorBuilder.create().with(new GetterMustExistRule()).with(new SetterMustExistRule())
+
+                .with(new SetterTester()).with(new GetterTester()).with(new SetterTester()).with(new GetterTester())
 
-       @Test
-       public void pojoStructure() {   
-               test("org.onap.so.bpmn.infrastructure.workflow.serviceTask.client.entity");             
-       }
+                .build();
 
-       private void test(String pojoPackage) {         
-               Validator validator = ValidatorBuilder.create()
-                               .with(new GetterMustExistRule())
-                               .with(new SetterMustExistRule())
-                               
-                               .with(new SetterTester())
-                               .with(new GetterTester())                        
-                               .with(new SetterTester())
-                               .with(new GetterTester())       
-                                                    
-                               .build();
 
+        validator.validate(pojoPackage, new FilterPackageInfo(), filterTestClasses, enumFilter,
+                new FilterNonConcrete());
+    }
 
-               validator.validate(pojoPackage, new FilterPackageInfo(), filterTestClasses,enumFilter,new FilterNonConcrete());
-       }
-       
-       private static class FilterTestClasses implements PojoClassFilter {
-               public boolean include(PojoClass pojoClass) {
-                       return !pojoClass.getSourcePath().contains("/test-classes/");
-               }
-       }
+    private static class FilterTestClasses implements PojoClassFilter {
+        public boolean include(PojoClass pojoClass) {
+            return !pojoClass.getSourcePath().contains("/test-classes/");
+        }
+    }
 }