Revert "Renaming Files having BluePrint to have Blueprint"
[ccsdk/cds.git] / ms / blueprintsprocessor / modules / commons / nats-lib / src / test / kotlin / org / onap / ccsdk / cds / blueprintsprocessor / nats / service / BluePrintNatsServiceTest.kt
@@ -31,7 +31,7 @@ import org.onap.ccsdk.cds.blueprintsprocessor.nats.utils.SubscriptionOptionsUtil
 import org.onap.ccsdk.cds.controllerblueprints.core.jsonAsJsonType
 import kotlin.test.assertNotNull
 
-class BlueprintNatsServiceTest {
+class BluePrintNatsServiceTest {
 
     @Test
     fun testTokenAuthNatService() {
@@ -42,18 +42,18 @@ class BlueprintNatsServiceTest {
             }            
         """.trimIndent()
 
-        val bluePrintNatsLibPropertyService = BlueprintNatsLibPropertyService(mockk())
+        val bluePrintNatsLibPropertyService = BluePrintNatsLibPropertyService(mockk())
 
-        val spkBlueprintNatsLibPropertyService = spyk(bluePrintNatsLibPropertyService)
+        val spkBluePrintNatsLibPropertyService = spyk(bluePrintNatsLibPropertyService)
         every {
-            spkBlueprintNatsLibPropertyService
+            spkBluePrintNatsLibPropertyService
                 .bluePrintNatsService(any<NatsConnectionProperties>())
         } returns TokenAuthNatsService(
             mockk()
         )
 
         val bluePrintNatsService =
-            spkBlueprintNatsLibPropertyService.bluePrintNatsService(configuration.jsonAsJsonType())
+            spkBluePrintNatsLibPropertyService.bluePrintNatsService(configuration.jsonAsJsonType())
         assertNotNull(bluePrintNatsService, "failed to get NATS Service")
     }
 
@@ -65,18 +65,18 @@ class BlueprintNatsServiceTest {
             }            
         """.trimIndent()
 
-        val bluePrintNatsLibPropertyService = BlueprintNatsLibPropertyService(mockk())
+        val bluePrintNatsLibPropertyService = BluePrintNatsLibPropertyService(mockk())
 
-        val spkBlueprintNatsLibPropertyService = spyk(bluePrintNatsLibPropertyService)
+        val spkBluePrintNatsLibPropertyService = spyk(bluePrintNatsLibPropertyService)
         every {
-            spkBlueprintNatsLibPropertyService
+            spkBluePrintNatsLibPropertyService
                 .bluePrintNatsService(any<NatsConnectionProperties>())
         } returns TLSAuthNatsService(
             mockk()
         )
 
         val bluePrintNatsService =
-            spkBlueprintNatsLibPropertyService.bluePrintNatsService(configuration.jsonAsJsonType())
+            spkBluePrintNatsLibPropertyService.bluePrintNatsService(configuration.jsonAsJsonType())
         assertNotNull(bluePrintNatsService, "failed to get NATS Service")
     }
 
@@ -114,7 +114,7 @@ class BlueprintNatsServiceTest {
         }
     }
 
-    private fun testMultiPublish(natsService: BlueprintNatsService) {
+    private fun testMultiPublish(natsService: BluePrintNatsService) {
         runBlocking {
             /** Multiple Publish Message Test **/
             val messageHandler1 =
@@ -131,7 +131,7 @@ class BlueprintNatsServiceTest {
         }
     }
 
-    private fun testLoadBalance(natsService: BlueprintNatsService) {
+    private fun testLoadBalance(natsService: BluePrintNatsService) {
         runBlocking {
             /** Load balance Publish Message Test **/
             val lbMessageHandler1 =
@@ -150,7 +150,7 @@ class BlueprintNatsServiceTest {
         }
     }
 
-    private fun testLimitSubscription(natsService: BlueprintNatsService) {
+    private fun testLimitSubscription(natsService: BluePrintNatsService) {
         runBlocking {
             /** Load balance Publish Message Test **/
             val lbMessageHandler1 =
@@ -185,7 +185,7 @@ class BlueprintNatsServiceTest {
         }
     }
 
-    private fun testRequestReply(natsService: BlueprintNatsService) {
+    private fun testRequestReply(natsService: BluePrintNatsService) {
         runBlocking {
             val lbMessageHandler1 = io.nats.client.MessageHandler { message ->
                 println("LB RR Request Handler 1: ${String(message.data)} will reply to(${message.replyTo})")
@@ -217,7 +217,7 @@ class BlueprintNatsServiceTest {
         }
     }
 
-    private fun testMultiRequestReply(natsService: BlueprintNatsService) {
+    private fun testMultiRequestReply(natsService: BluePrintNatsService) {
         runBlocking {
             /** Request Reply **/
             val lbMessageHandler1 = io.nats.client.MessageHandler { message ->