public void NameProperty_OnSet_SetsTheValueToNull() { var analyzerStructure = new AnalyzerStructure(); analyzerStructure.Name = null; Assert.IsNull(analyzerStructure.Name); }
public void NameProperty_OnSet_SetsTheValue() { var analyzerStructure = new AnalyzerStructure(); analyzerStructure.Name = "name"; Assert.AreEqual("name", analyzerStructure.Name); }
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()); }
public void Constructor_OnExecute_InitializesCollections() { var analyzerStructure = new AnalyzerStructure(); Assert.IsNotNull(analyzerStructure.Analyzers); }