Moving the InternalGetActor message to the companion object and verifying that it's possible to call apply from Java

This commit is contained in:
Viktor Klang 2012-01-31 21:38:20 +01:00
parent b4d9486e63
commit dcebd1deb2
2 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,19 @@
/**
* Copyright (C) 2009-2012 Typesafe Inc. <http://www.typesafe.com>
*/
package akka.testkit;
import org.junit.Test;
import akka.actor.Props;
import static org.junit.Assert.*;
public class TestActorRefJavaSpec {
@Test
public void shouldBeAbleToUseApply() {
//Just a dummy call to make sure it compiles
TestActorRef ref = TestActorRef.apply(new Props(), null);
}
}