pekko/akka-testkit/src/test/java/akka/testkit/TestActorRefJavaCompile.java

17 lines
386 B
Java
Raw Normal View History

/**
* Copyright (C) 2009-2012 Typesafe Inc. <http://www.typesafe.com>
*/
package akka.testkit;
import akka.actor.Actor;
import akka.actor.Props;
public class TestActorRefJavaCompile {
public void shouldBeAbleToCompileWhenUsingApply() {
//Just a dummy call to make sure it compiles
TestActorRef<Actor> ref = TestActorRef.apply(new Props(), null);
ref.toString();
}
}