Exemplo n.º 1
0
        public void UniqueIdFormatted()
        {
            Guid result;

#pragma warning disable CS0618 // Type or member is obsolete
            Assert.IsTrue(Guid.TryParse(FakerData.GenerateUniqueId(), out result));
#pragma warning restore CS0618 // Type or member is obsolete
        }
Exemplo n.º 2
0
 public void GuiduniqueIdNonFormatted()
 {
     Assert.IsFalse(Regex.IsMatch(FakerData.GenerateUniqueId(false), @"[-]+"));
 }
Exemplo n.º 3
0
        public void UniqueIdFormatted()
        {
            Guid result;

            Assert.IsTrue(Guid.TryParse(FakerData.GenerateUniqueId(), out result));
        }
Exemplo n.º 4
0
        public void GuiduniqueIdNonFormatted()
        {
#pragma warning disable CS0618 // Type or member is obsolete
            Assert.IsFalse(Regex.IsMatch(FakerData.GenerateUniqueId(false), @"[-]+"));
#pragma warning restore CS0618 // Type or member is obsolete
        }