make tryTell nice from Scala AND Java
Thanks, Derek Williams, for the good suggestion!
This commit is contained in:
parent
a43418a4c3
commit
2aa86ed37a
5 changed files with 64 additions and 30 deletions
|
|
@ -31,4 +31,10 @@ public class JavaAPI {
|
|||
});
|
||||
assertNotNull(ref);
|
||||
}
|
||||
|
||||
@Test void mustAcceptSingleArgTryTell() {
|
||||
ActorRef ref = Actors.actorOf(JavaAPITestActor.class);
|
||||
ref.tryTell("hallo");
|
||||
ref.tryTell("hallo", ref);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue