public void Process_StartWithDuplicatePassword()
{
ProcessStartInfo psi = new ProcessStartInfo();
psi.FileName = "exe";
psi.UserName = "dummyUser";
psi.PasswordInClearText = "Value";
psi.Password = AsSecureString("Value");
Process p = new Process();
p.StartInfo = psi;
Assert.Throws<ArgumentException>(() => p.Start());
}