コード例 #1
0
        public void then_environment_section_delta_file_property_had_logical_parent_element()
        {
            var environmentDeltaFileProperty = (ILogicalPropertyContainerElement)EnvironmentViewModel.Property("EnvironmentDeltaFile");

            Assert.IsNotNull(environmentDeltaFileProperty);
            Assert.IsNotNull(environmentDeltaFileProperty.ContainingElement);
            Assert.IsNotNull(environmentDeltaFileProperty.ContainingElementDisplayName);
        }
        public void then_output_file_is_assigned_to_environment_merge_node()
        {
            string configurationFile = (string)EnvironmentViewModel.Property("EnvironmentConfigurationFile").Value;

            Assert.IsTrue(configurationFile.EndsWith("mergedconfig.config"));
        }