public MockAnarchyActionOrchestratorBuilder(ICauseAnarchy action = null, IHandleTime timer = null) { Action = action ?? Substitute.For <ICauseAnarchy, ICauseScheduledAnarchy>(); Timer = timer ?? Substitute.For <IHandleTime>(); Schedule = null; IsActive = false; }
public MockAnarchyActionOrchestratorBuilder WithAction(ICauseAnarchy action) { Action = action; return(this); }