Exemple #1
0
        public void NameProperty_OnSet_SetsTheValueToNull()
        {
            var analyzerStructure = new AnalyzerStructure();

            analyzerStructure.Name = null;
            Assert.IsNull(analyzerStructure.Name);
        }
Exemple #2
0
        public void NameProperty_OnSet_SetsTheValue()
        {
            var analyzerStructure = new AnalyzerStructure();

            analyzerStructure.Name = "name";
            Assert.AreEqual("name", analyzerStructure.Name);
        }
Exemple #3
0
        public void AnalyzersProperty_OnSet_SetsTheValue()
        {
            var analyzerStructure = new AnalyzerStructure();

            analyzerStructure.Analyzers = new List <string> {
                "analyzer"
            };
            Assert.IsNotNull(analyzerStructure.Analyzers);
            Assert.AreEqual(1, analyzerStructure.Analyzers.Count());
        }
Exemple #4
0
        public void Constructor_OnExecute_InitializesCollections()
        {
            var analyzerStructure = new AnalyzerStructure();

            Assert.IsNotNull(analyzerStructure.Analyzers);
        }