CmdletUnitTest.TestRunspace.RunAndCheckCmdletParameters_ParamsAccepted C# (CSharp) Метод

RunAndCheckCmdletParameters_ParamsAccepted() публичный статический Метод

Throws an exception if all parameters and their values are okay.
public static RunAndCheckCmdletParameters_ParamsAccepted ( string codeSnippet ) : void
codeSnippet string
Результат void
        public static void RunAndCheckCmdletParameters_ParamsAccepted(string codeSnippet)
        {
            RunAndGetTheException(
                codeSnippet,
                // 20130207
                //"CmdletInvocationException",
                "AssertionFailureException",
                //"Parameters checked");
                "An assertion failed.");
        }