I want to test my akka actor. Is it possible to test every case of receive function?
def receive = { case msg: String => println(\"SUCCESS\" + msg)
Yes, if you want to test if you are sending a successful message and just want to see that your actor system works. You can use
case _ => println("sending message success")