Exemplo n.º 1
0
        public void LongGuid_GetHashCode_Throws()
        {
            // Act
            var result = LongGuid.NewLongGuid();

            // Assert
            Check.ThatCode(() => result.GetHashCode()).Throws <SecurityException>();
        }
Exemplo n.º 2
0
        public void LongGuid_New()
        {
            // Assign
            var longGuid = LongGuid.NewLongGuid();

            // Act
            string result = longGuid.ToString();

            // Assert
            Check.That(result).IsNotEmpty();
        }