Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #286 from jboner/wip-1758-fix-testactorref-√
Moving the InternalGetActor message to the companion object and verifyin...
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
akka-testkit/src/test/java/akka/testkit/TestActorRefJavaSpec.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); | ||
} | ||
} |