aboutsummaryrefslogtreecommitdiffstats
path: root/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/ArtifactToolBLTest.java
blob: 4f8d96491c819423f4c132e7a3e57e3a062bcf5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package org.openecomp.sdc.asdctool.impl.validator;

import org.junit.Test;
import org.openecomp.sdc.asdctool.impl.validator.executers.NodeToscaArtifactsValidatorExecuter;

import java.util.LinkedList;

public class ArtifactToolBLTest {

	private ArtifactToolBL createTestSubject() {
		return new ArtifactToolBL();
	}

	//Generated test
	@Test(expected=NullPointerException.class)
	public void testValidateAll() throws Exception {
		ArtifactToolBL testSubject;
		boolean result;

		// default test
		testSubject = createTestSubject();
		testSubject.validators = new LinkedList();
		testSubject.validators.add(new NodeToscaArtifactsValidatorExecuter());
		result = testSubject.validateAll();
	}
}