public static void RunAndCheckCmdletParameters_ParamsOK_CmdletException(string codeSnippet) { RunAndGetTheException( codeSnippet, // 20130207 "CmdletInvocationException", //"AssertionFailureException", "Parameters checked"); }