System.Tests.OperatingSystemTests.GetObjectData_InvalidArgs_Throws C# (CSharp) 메소드

GetObjectData_InvalidArgs_Throws() 개인적인 메소드

private GetObjectData_InvalidArgs_Throws ( ) : void
리턴 void
        public static void GetObjectData_InvalidArgs_Throws()
        {
            var os = new OperatingSystem(PlatformID.Win32NT, new Version(10, 0));
            Assert.Throws<ArgumentNullException>("info", () => os.GetObjectData(null, new StreamingContext()));
        }
    }