Renamed test file and fix typo in method name

This commit is contained in:
Radu Tamas 2018-03-15 15:49:45 +02:00
parent 71f82f7b21
commit 46e4113042
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ import static akka.pattern.PatternsCS.ask;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
public class AkkaActorsTestCase {
public class AkkaActorsUnitTest {
private static ActorSystem system = null;
@ -75,7 +75,7 @@ public class AkkaActorsTestCase {
}
@Test
public void giveAnAkkaSystem_couteTheWordsInAText() {
public void givenAnAkkaSystem_countTheWordsInAText() {
ActorSystem system = ActorSystem.create("test-system");
ActorRef myActorRef = system.actorOf(Props.create(MyActor.class), "my-actor");
myActorRef.tell("printit", null);