System.Tests.OperatingSystemTests.GetObjectData_InvalidArgs_Throws C# (CSharp) Method

GetObjectData_InvalidArgs_Throws() private method

private GetObjectData_InvalidArgs_Throws ( ) : void
return 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()));
        }
    }