public void When_canceling_existing_running_repeaters_Then_their_future_actions_should_not_be_invoked()
{
// Prepare, set up actions to be fired
IActionScheduler scheduler = new DedicatedThreadScheduler(Sys);
var cancelable = new Cancelable(scheduler);
scheduler.ScheduleRepeatedly(0, 150, () => TestActor.Tell("Test"), cancelable);
ExpectMsg("Test");
cancelable.Cancel();
//Validate that no more messages were sent
ExpectNoMsg(200);
}