public void Test_Constructor()
        {
            _mainPart = new MainPart();
            _throttlerPart = new ThrottlerPart();
            _parts = new GraphicalUIPart[] { _mainPart, _throttlerPart };

            _partsConfiguration = new PartsConfiguration(_parts);

            Assert.AreEqual(2, _partsConfiguration.Parts.Count);

            GraphicalUIPart[] parts = new GraphicalUIPart[_partsConfiguration.Parts.Count];
            _partsConfiguration.Parts.CopyTo(parts);
            for (int i = 0; i < parts.Length; i++)
            {
                Assert.AreEqual(_parts[i], parts[i]);
            }
        }
 public void SetUp()
 {
     _throttlerPart = new ThrottlerPart();
 }