Exemple #1
0
        public static void Constructor()
        {
            // Act
            var attr = new InternalForTestingAttribute();

            // Assert
            Assert.Equal(AccessibilityLevel.Private, attr.GenuineAccessibility);
        }
Exemple #2
0
        public static void GenuineAccessibility()
        {
            // Act
            var attr = new InternalForTestingAttribute
            {
                GenuineAccessibility = AccessibilityLevel.Protected
            };

            // Assert
            Assert.Equal(AccessibilityLevel.Protected, attr.GenuineAccessibility);
        }