System.Diagnostics.Tests.ProcessStartInfoTests.TestUserCredentialsPropertiesOnUnix C# (CSharp) Method

TestUserCredentialsPropertiesOnUnix() private method

private TestUserCredentialsPropertiesOnUnix ( ) : void
return void
        public void TestUserCredentialsPropertiesOnUnix()
        {
            Assert.Throws<PlatformNotSupportedException>(() => _process.StartInfo.Domain);
            Assert.Throws<PlatformNotSupportedException>(() => _process.StartInfo.UserName);
            Assert.Throws<PlatformNotSupportedException>(() => _process.StartInfo.PasswordInClearText);
            Assert.Throws<PlatformNotSupportedException>(() => _process.StartInfo.LoadUserProfile);
        }