These are chat archives for petabridge/akka-bootcamp

11th
Apr 2017
Ilya Komendantov
@IlyaKomendantov_twitter
Apr 11 2017 08:24
Guys, how can I test that message was sent to Parent if I use Persistent actor (so, cannot use ActorOfAsTestActorRef method)?
Nick Chamberlain
@heynickc
Apr 11 2017 12:36
@IlyaKomendantov_twitter why can't you use ActorOfAsTestActorRef?
Ilya Komendantov
@IlyaKomendantov_twitter
Apr 11 2017 13:44
i read this in docs : Be aware that the TestActorRef is a fully synchronous actor / unit test, so it will not play well with actor types that employ additional async behavior to do their jobs (e.g. the PersistentActor & AtLeastOnceDeliveryActor from Akka.Persistence)
Nick Chamberlain
@heynickc
Apr 11 2017 14:33
@IlyaKomendantov_twitter Oh ok. So your Child actor is a PersistenceActor and you want to verify that it sent a response back to its Parent?