public static void GenerateProgIdForType() { Assert.Throws<ArgumentNullException>(() => Marshal.GenerateProgIdForType(null)); Assert.Equal("TestProgID", Marshal.GenerateProgIdForType(typeof(ClassWithProgID))); }