public RegionControlCrudEventTests() { _fixture.Behaviors.Remove(new ThrowingRecursionBehavior()); _fixture.Behaviors.Add(new OmitOnRecursionBehavior()); _regionListController = Substitute.For <IRegionListController>(); _regionControlViewModel = new RegionControlViewModel(_regionListController); }
public RegionConfigControlTests() { _fixture.Behaviors.Remove(new ThrowingRecursionBehavior()); _fixture.Behaviors.Add(new OmitOnRecursionBehavior()); _triggerController = Substitute.For <ITriggerController>(); _regionListController = Substitute.For <IRegionListController>(); _regionConfigViewModel = new RegionConfigViewModel(_regionListController, _triggerController); }
public RegionControlViewModel(IRegionListController regionController) { _regionController = regionController; }
public RegionConfigViewModel(IRegionListController regionController, ITriggerController triggerController) { _regionController = regionController; _triggerController = triggerController; }