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.");
        }