예제 #1
0
        public void LongGuid_GetHashCode_Throws()
        {
            // Act
            var result = LongGuid.NewLongGuid();

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

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

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