[TestInitialize] public void TestInitialize() {
     TestDataFactory.Init();
     layout = TestDataFactory.Layout();
     stretch = layout.TrackStretches.First();
     train = TestDataFactory.CreateTrain1();
     target = new TrackStretchCoordinator(stretch);
 }
 public CancelTrackStretchCommand(StationCall call, TrackStretch stretch) : base(call, stretch) { }
 public RequestTrackStretchCommand(StationCall call, TrackStretch stretch) : base(call, stretch) { }
 public ArrivedTrackStretchCommand(StationCall call, TrackStretch stretch) : base(call, stretch) { }
 protected TrackStretchCommand(StationCall call, TrackStretch stretch) {
     if (stretch == null) throw new ArgumentNullException(nameof(stretch));
     if (call == null) throw new ArgumentNullException(nameof(call));
     Stretch = stretch;
     Call = call;
 }
 public DepartureTrackStretchCommand(StationCall call, TrackStretch stretch) : base(call, stretch) { }
 public ConfirmTrackStretchCommand(StationCall call, TrackStretch stretch) : base(call, stretch) { }