public void SetUp() { _areaSelection = Substitute.For <IAreaSelection>(); _individualSelection = Substitute.For <IIndividualSelection>(); _selectionInterface = Substitute.ForPartsOf <SelectionManager>(new object[] { _areaSelection, _individualSelection }); }
public SelectionManager(IAreaSelection areaSelection, IIndividualSelection individualSelection) { this._areaSelection = areaSelection; this._individualSelection = individualSelection; }