public void ChangeState(ILightState state, int changesCount, ColourOption[] colours) { var actual = TrafficManager.Start(state, changesCount); int i = 0; foreach (var element in actual) { Assert.AreEqual(element, colours[i++]); } }