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