Creates the instance with an optional message to describe why the test method is ignored.
Optionalmsg: stringOptionalcauseOptionalstackStaticthrowThrows an instance of TestIgnored created with the given message. Use it
to briefly disable a test without getting the compiler warning about unused
code from directly calling throw new TestIgnored(...).
to be logged to explain why the test is ignored
If a test method throws an instance of this class, it is assumed that the test has been ignored. Typically you would have
at the start of a test function. Adding it somehwere in the middle would be somewhat silly.