public void Constructor_ValidArguments_ReturnsExpectedValues()
        {
            // Setup
            TopLevelSubMechanismIllustrationPoint topLevelSubMechanismIllustrationPoint = CreateTopLevelSubMechanismIllustrationPoint();
            IEnumerable <string> closingSituations = Enumerable.Empty <string>();

            // Call
            var selectedTopLevelSubMechanismIllustrationPoint = new SelectedTopLevelSubMechanismIllustrationPoint(topLevelSubMechanismIllustrationPoint,
                                                                                                                  closingSituations);

            // Assert
            Assert.AreSame(topLevelSubMechanismIllustrationPoint, selectedTopLevelSubMechanismIllustrationPoint.TopLevelSubMechanismIllustrationPoint);
            Assert.AreSame(closingSituations, selectedTopLevelSubMechanismIllustrationPoint.ClosingSituations);
        }
        public void CreateInstance_SelectedTopLevelSubMechanismIllustrationPoint_ReturnsTopLevelSubMechanismIllustrationPointProperties()
        {
            // Setup
            var topLevelSubMechanismIllustrationPoint = new TopLevelSubMechanismIllustrationPoint(WindDirectionTestFactory.CreateTestWindDirection(),
                                                                                                  string.Empty,
                                                                                                  new TestSubMechanismIllustrationPoint());

            var selectedTopLevelSubMechanismIllustrationPoint = new SelectedTopLevelSubMechanismIllustrationPoint(topLevelSubMechanismIllustrationPoint,
                                                                                                                  Enumerable.Empty <string>());

            // Call
            IObjectProperties objectProperties = info.CreateInstance(selectedTopLevelSubMechanismIllustrationPoint);

            // Assert
            Assert.IsInstanceOf <TopLevelSubMechanismIllustrationPointProperties>(objectProperties);
            Assert.AreSame(topLevelSubMechanismIllustrationPoint, objectProperties.Data);
        }