コード例 #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;
 }
コード例 #2
0
 public MockAnarchyActionOrchestratorBuilder WithAction(ICauseAnarchy action)
 {
     Action = action;
     return(this);
 }