Raise JUnit coverage asdctool
[sdc.git] / asdctool / src / test / java / org / openecomp / sdc / asdctool / impl / validator / executers / ServiceValidatorExecuterTest.java
index 890bdfd..dbfe02b 100644 (file)
@@ -2,17 +2,12 @@ package org.openecomp.sdc.asdctool.impl.validator.executers;
 
 import org.junit.Test;
 
-
 public class ServiceValidatorExecuterTest {
 
        private ServiceValidatorExecuter createTestSubject() {
                return new ServiceValidatorExecuter();
        }
 
-       
-
-
-       
        @Test
        public void testGetName() {
                ServiceValidatorExecuter testSubject;
@@ -22,4 +17,14 @@ public class ServiceValidatorExecuterTest {
                testSubject = createTestSubject();
                result = testSubject.getName();
        }
+
+       @Test(expected=NullPointerException.class)
+       public void testExecuteValidations() throws Exception {
+               ServiceValidatorExecuter testSubject;
+               boolean result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.executeValidations();
+       }
 }
\ No newline at end of file