public ActorRuntimeMock(MessageSerialization serialization = null) { System = new ActorSystemMock(serialization); Timers = new TimerServiceMock(); Reminders = new ReminderServiceMock(); Activation = new ActivationServiceMock(); }
protected internal RecordedBackgroundJob(HashSet <BackgroundJob> tracker, ActorRef host, TimerServiceMock timers, string name, int id, Func <BackgroundJobToken, Task> job) : base(tracker, host, timers, name, id, job) { this.timers = timers; }
public BackgroundJobServiceMock() { Host = new ActorRefMock(ActorPath.Parse("mock:self")); timers = new TimerServiceMock(); }