Exemplo n.º 1
0
        public void GenerateHumanReadableRandomString()
        {
            var randomString1 = RandomUtil.GenerateHumanReadableRandomString(6);
            var randomString2 = RandomUtil.GenerateHumanReadableRandomString(6);

            Assert.That(randomString1.Length, Is.EqualTo(6));
            Assert.That(randomString2.Length, Is.EqualTo(6));
            Assert.That(randomString1, Is.Not.EqualTo(randomString2));
        }