I've written my first FSM in Akka.NET, and now I want to write unit tests for it. I've already read about
TestFSMRef, which lets you set up the initial state and write positive unit tests, e.g. in state
X, the FSM should handle messages
Should I write negative unit tests, e.g. in state
Y, the actor should not handle messages
B, or anything else that it isn't defined to handle? If so, how? I'm reluctant to write such tests because it feels like their could quickly grow out of control, but at the same time I also feel like I'd only be partially testing the FSM.