How does one unit test persistent actors. I understand that there's 
akka-testkit which one can use to get the underlying actor object of a test 
actor reference like below.

final TestActorRef<MyActor> ref = TestActorRef.create(system, props, 
"testA");final MyActor actor = ref.underlyingActor();
assertTrue(actor.testMe());

But this doesn't work for persistent actors as mentioned here 
<https://github.com/akka/akka/issues/15569>.

Question: how does one unit test a persistent actor methods ?


Thanks,

Shajahan.

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to