package hyperion

import akka.testkit.TestProbe

import scala.concurrent.duration.DurationInt

class CoreAppSpec extends BaseAkkaSpec {

  "Creating the CoreApp" should {
    "result in creating the necessary top-level actors" in {
      // Act
      new CoreApp(system)

      // Assert
      TestProbe().expectActor("/user/launcher-actor", 500 milliseconds) should not be empty
    }
  }
}

package hyperion

import akka.testkit.TestProbe

import scala.concurrent.duration.DurationInt

class CoreAppSpec extends BaseAkkaSpec {
  val app = new CoreApp(system)

  "Creating the CoreApp" should {
    "result in creating the necessary top-level actors" in {
      // Assert
      TestProbe().expectActor("/user/receiver", 500 milliseconds) should not be empty
    }
  }
}

--- 
+++ 
@@ -5,12 +5,14 @@
 import scala.concurrent.duration.DurationInt
 
 class CoreAppSpec extends BaseAkkaSpec {
-  val app = new CoreApp(system)
 
   "Creating the CoreApp" should {
     "result in creating the necessary top-level actors" in {
+      // Act
+      new CoreApp(system)
+
       // Assert
-      TestProbe().expectActor("/user/receiver", 500 milliseconds) should not be empty
+      TestProbe().expectActor("/user/launcher-actor", 500 milliseconds) should not be empty
     }
   }
 }
Fix test: expect the Actor to appear
