public void Setup() { this.brushGetter = new RainbowBrushGetter { brushes = brushes }; }
public void GetColorByIndex_EmptyCollectionHandling() { brushGetter = new RainbowBrushGetter(Array.Empty <Brush>(), null); Assert.IsNull(brushGetter.GetColorByIndex(1)); }
public void Setup() { brushGetter = new RainbowBrushGetter(brushes, null); }