AAI-1523 Batch reformat aai-core
[aai/aai-common.git] / aai-core / src / test / java / org / onap / aai / introspection / validation / IntrospectorValidationTest.java
index 0902aec..7bb3879 100644 (file)
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
+
 package org.onap.aai.introspection.validation;
 
+import static org.junit.Assert.assertEquals;
+
+import java.util.List;
+
 import org.junit.Before;
 import org.junit.Ignore;
 import org.junit.Test;
 import org.onap.aai.AAISetup;
 import org.onap.aai.exceptions.AAIException;
 import org.onap.aai.introspection.*;
-
 import org.onap.aai.introspection.tools.IntrospectorValidator;
 import org.onap.aai.introspection.tools.Issue;
 import org.onap.aai.introspection.tools.IssueType;
@@ -33,10 +37,6 @@ import org.onap.aai.serialization.queryformats.QueryFormatTestHelper;
 import org.onap.aai.util.AAIConstants;
 import org.springframework.beans.factory.annotation.Autowired;
 
-import java.util.List;
-
-import static org.junit.Assert.assertEquals;
-
 public class IntrospectorValidationTest extends AAISetup {
 
     private final static ModelType introspectorFactoryType = ModelType.MOXY;
@@ -50,11 +50,9 @@ public class IntrospectorValidationTest extends AAISetup {
         System.setProperty("AJSC_HOME", ".");
         System.setProperty("BUNDLECONFIG_DIR", "bundleconfig-local");
         loader = loaderFactory.createLoaderForVersion(introspectorFactoryType, schemaVersions.getRelatedLinkVersion());
-        validator = new IntrospectorValidator.Builder()
-                .validateRequired(false)
-                .restrictDepth(10000)
-                .build();
+        validator = new IntrospectorValidator.Builder().validateRequired(false).restrictDepth(10000).build();
     }
+
     @Ignore
     @Test
     public void verifySuccessWhenEmpty() throws AAIException {
@@ -77,6 +75,7 @@ public class IntrospectorValidationTest extends AAISetup {
         Issue issue = issues.get(0);
         assertEquals("found expected issue", IssueType.DEPENDENT_PROP_NOT_FOUND, issue.getType());
     }
+
     @Ignore
     @Test
     public void verifyRequiresSuccess() throws AAIException {