public void TestToString() { DictRef dictRef = new DictRef("bar:foo", "bla"); string description = dictRef.ToString(); for (int i = 0; i < description.Length; i++) { Assert.IsTrue(description[i] != '\n'); Assert.IsTrue(description[i] != '\r'); } }
public void TestGetType() { DictRef dictRef = new DictRef("bar:foo", "bla"); Assert.AreEqual("bar:foo", dictRef.Type); }
public void TestGetDictRef() { DictRef dictRef = new DictRef("bar:foo", "bla"); Assert.AreEqual("bla", dictRef.Reference); }
public void TestDictRef_String_String() { DictRef dictRef = new DictRef("bar:foo", "bla"); Assert.IsNotNull(dictRef); }