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