public void CreateIdentifierFromString() { var guidValue = Guid.NewGuid().ToString(); var id = new Identifier(guidValue); Assert.IsNotNull(id); Assert.IsNotNullOrEmpty(id.ToString()); // make sure the string value of the identifier is the same as the guid's string value Assert.AreEqual(id.ToString(), guidValue); Debug.WriteLine("{0} == {1}", id.ToString(), guidValue); }
public void CreateNewIdentifier() { var id = new Identifier(); Assert.IsNotNull(id); Assert.IsNotNullOrEmpty(id.ToString()); }