8d753e182cb2e945a687bc0187f2256a7a54dc1f
[sdc.git] /
1 package org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts;
2
3 import org.junit.Test;
4 import org.openecomp.sdc.asdctool.impl.validator.utils.VertexResult;
5 import org.openecomp.sdc.be.dao.jsongraph.GraphVertex;
6
7 public class VfArtifactValidationTaskTest {
8
9         private VfArtifactValidationTask createTestSubject() {
10                 return new VfArtifactValidationTask();
11         }
12
13         @Test(expected=NullPointerException.class)
14         public void testValidate() throws Exception {
15                 VfArtifactValidationTask testSubject;
16                 GraphVertex vertex = null;
17                 VertexResult result;
18
19                 // default test
20                 testSubject = createTestSubject();
21                 result = testSubject.validate(vertex);
22         }
23
24 }