public void GlossaryDefaultValue_Glossary() { Glossary glossary; glossary = new Glossary(); Assert.AreEqual(0, glossary.Entries.Count, "Entries count is incorrect."); }
/// <summary> /// Creates a glossary with every element and attribute. /// </summary> /// <param name="segmentId">The Id of the segment containing the glossary.</param> /// <returns>The created glossary.</returns> private Glossary CreateGlossary(string segmentId) { Glossary result; result = new Glossary(); result.Entries.Add(this.CreateGlossaryEntry(segmentId)); return result; }
public void TestInitialize() { this.element = new Glossary(); this.provider = this.element; }