make Terminated constr private[akka]

This commit is contained in:
Roland 2012-08-20 11:22:52 +02:00
parent 8827536cc2
commit c03665ec46
3 changed files with 9 additions and 7 deletions

View file

@ -182,7 +182,7 @@ public class FaultHandlingTestBase {
final TestProbe probe = new TestProbe(system);
probe.watch(child);
child.tell(new IllegalArgumentException());
probe.expectMsg(new Terminated(child, true, 0));
probe.expectMsgClass(Terminated.class);
//#stop
//#escalate-kill
@ -190,7 +190,7 @@ public class FaultHandlingTestBase {
probe.watch(child);
assert Await.result(ask(child, "get", 5000), timeout).equals(0);
child.tell(new Exception());
probe.expectMsg(new Terminated(child, true, 0));
probe.expectMsgClass(Terminated.class);
//#escalate-kill
//#escalate-restart