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