public void ScheduleRepeatedly_in_TimeSpan_Tests(int initialDelay, int interval)
{
// Prepare, set up actions to be fired
IActionScheduler testScheduler = new DedicatedThreadScheduler(Sys);
testScheduler.ScheduleRepeatedly(TimeSpan.FromMilliseconds(initialDelay), TimeSpan.FromMilliseconds(interval), () => TestActor.Tell("Test"));
//Just check that we receives more than one message
ExpectMsg("Test");
ExpectMsg("Test");
ExpectMsg("Test");
}