Category "akka-typed"

Akka Typed - How to sent Terminated message to BehaviorTestKit

I'm trying to unit test my actor's handling of a "Terminated" message for a child actor. The code under test is something like this: case Terminated(termin

Why my Akka main actor stops even though behavior doesn't change?

I have written a small application, but there is a problem that my app doesn't wait for my actors to stop, and stops them before their actions are completed. I

How to use BehaviorTestKit to verify the right child was spawned

I'm trying to test determine that my actor spawned a child with the right parameters. There is testKit.expectEffect(Spawned(behavior,name,props)) But it's i