Merge pull request #1322 from akka/wip-3206-add-expectTerminated-4-realz-√

#3206 - Adding expectTerminated to TestKit
This commit is contained in:
Viktor Klang (√) 2013-04-09 15:44:50 -07:00
commit 90dcb6545f
13 changed files with 61 additions and 20 deletions

View file

@ -215,7 +215,7 @@ class TestkitDocSpec extends AkkaSpec with DefaultTimeout with ImplicitSender {
val probe = TestProbe()
probe watch target
target ! PoisonPill
probe.expectMsgType[Terminated].actor must be(target)
probe.expectTerminated(target)
//#test-probe-watch
}