2012-01-31 21:38:20 +01:00
|
|
|
/**
|
2015-03-07 22:58:48 -08:00
|
|
|
* Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
|
2012-01-31 21:38:20 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
package akka.testkit;
|
|
|
|
|
|
2012-06-29 14:42:11 +02:00
|
|
|
import akka.actor.Actor;
|
2012-01-31 21:38:20 +01:00
|
|
|
import akka.actor.Props;
|
|
|
|
|
|
2012-02-01 11:53:46 +01:00
|
|
|
public class TestActorRefJavaCompile {
|
2012-01-31 21:38:20 +01:00
|
|
|
|
2012-02-01 11:53:46 +01:00
|
|
|
public void shouldBeAbleToCompileWhenUsingApply() {
|
2012-01-31 21:38:20 +01:00
|
|
|
//Just a dummy call to make sure it compiles
|
2013-05-02 17:00:44 +02:00
|
|
|
TestActorRef<Actor> ref = TestActorRef.apply(Props.empty(), null);
|
2012-06-29 14:42:11 +02:00
|
|
|
ref.toString();
|
2012-01-31 21:38:20 +01:00
|
|
|
}
|
2013-01-09 01:47:48 +01:00
|
|
|
}
|