@Test public void testInform() { new JavaTestKit(system) { { final Props props = LobbyActor.props(configuration); final ActorRef subject = system.actorOf(props); final RequestInformation req = RequestInformation.INSTANCE; subject.tell(req, getRef()); expectMsgEquals(duration("1 second"), new Lobby( subject.path().name(), LobbyStatus.INTERMISSION, configuration, Collections.emptySet(), schedule)); } }; }
private void inform(LobbyStatus status) { sender().tell(getInformation(status), self()); }
LobbyActor extends AbstractActor { private void inform(LobbyStatus status) { sender().tell(getInformation(status), self()); } }
LobbyActor extends AbstractActor { private void inform(LobbyStatus status) { sender().tell(getInformation(status), self()); } private  LobbyActor(LobbyConfiguration configuration); }
LobbyActor extends AbstractActor { private void inform(LobbyStatus status) { sender().tell(getInformation(status), self()); } private  LobbyActor(LobbyConfiguration configuration); @Override PartialFunction<Object, BoxedUnit> receive(); static Props props(LobbyConfiguration configuration); }
LobbyActor extends AbstractActor { private void inform(LobbyStatus status) { sender().tell(getInformation(status), self()); } private  LobbyActor(LobbyConfiguration configuration); @Override PartialFunction<Object, BoxedUnit> receive(); static Props props(LobbyConfiguration configuration);  }