AAI-1523 checkstyle warnings for aai-schema-ingest
[aai/aai-common.git] / aai-schema-ingest / src / test / java / org / onap / aai / validation / FailFastStrategyTest.java
index b70d13d..0d9ded0 100644 (file)
@@ -29,22 +29,22 @@ import org.onap.aai.validation.AAISchemaValidationException;
 import org.onap.aai.validation.FailFastStrategy;
 
 public class FailFastStrategyTest {
-       @Rule
-       public ExpectedException thrown = ExpectedException.none();
-       
-       @Test
-       public void test() {
-               FailFastStrategy strat = new FailFastStrategy();
-               
-               //simulate no issues found
-               assertTrue(strat.isOK());
-               assertTrue("No errors found.".equals(strat.getErrorMsg()));
-               
-               //simulate an issue found
-               String testError = "hi i'm a problem";
-               thrown.expect(AAISchemaValidationException.class);
-               thrown.expectMessage(testError);
-               strat.notifyOnError(testError);
-       }
+    @Rule
+    public ExpectedException thrown = ExpectedException.none();
+    
+    @Test
+    public void test() {
+        FailFastStrategy strat = new FailFastStrategy();
+        
+        //simulate no issues found
+        assertTrue(strat.isOK());
+        assertTrue("No errors found.".equals(strat.getErrorMsg()));
+        
+        //simulate an issue found
+        String testError = "hi i'm a problem";
+        thrown.expect(AAISchemaValidationException.class);
+        thrown.expectMessage(testError);
+        strat.notifyOnError(testError);
+    }
 
 }