package org.onap.ccsdk.cds.controllerblueprints.core.service
import org.junit.Test
-import org.onap.ccsdk.cds.controllerblueprints.core.BluePrintException
+import org.onap.ccsdk.cds.controllerblueprints.core.BlueprintException
import org.onap.ccsdk.cds.controllerblueprints.core.TestConstants
import kotlin.test.assertNotNull
/**
- * BluePrintRepoFileServiceTest
+ * BlueprintRepoFileServiceTest
* @author Brinda Santh
*
*/
-class BluePrintRepoFileServiceTest {
+class BlueprintRepoFileServiceTest {
private val basePath = TestConstants.PATH_TEST_DEFINITION_TYPE_STARTER
- private val bluePrintRepoFileService = BluePrintRepoFileService(basePath)
+ private val bluePrintRepoFileService = BlueprintRepoFileService(basePath)
@Test
fun testGetDataType() {
assertNotNull(nodeType, "Failed to get ArtifactType from repo")
}
- @Test(expected = BluePrintException::class)
+ @Test(expected = BlueprintException::class)
fun testModelNotFound() {
val dataType = bluePrintRepoFileService.getDataType("dt-not-found")
assertNotNull(dataType, "Failed to get DataType from repo")