#3206 - Adding expectTerminated to TestKit
This commit is contained in:
parent
abc4652bc0
commit
e59394628c
13 changed files with 61 additions and 20 deletions
|
|
@ -347,7 +347,7 @@ class RemotingSpec extends AkkaSpec(RemotingSpec.cfg) with ImplicitSender with D
|
|||
watch(child)
|
||||
child ! PoisonPill
|
||||
expectMsg("postStop")
|
||||
expectMsgType[Terminated].actor must be === child
|
||||
expectTerminated(child)
|
||||
l ! ((Props[Echo1], "child"))
|
||||
val child2 = expectMsgType[ActorRef]
|
||||
child2 ! 45
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue