Skip to content

Instantly share code, notes, and snippets.

@chbatey
Created February 5, 2014 22:29
Show Gist options
  • Save chbatey/8834631 to your computer and use it in GitHub Desktop.
Save chbatey/8834631 to your computer and use it in GitHub Desktop.
Akka: How do I test parent sending msg to child?
class ParentActorTest extends TestKit(ActorSystem("TestSystem")) with FunSuiteLike {
test("Should delegate the important work to the client") {
val underTest = TestActorRef(new ParentActor)
underTest ! "Go do some work"
// how do i test this?
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment