@SuppressWarnings("unused")
        public CasesBuilder<I, O> addNamedThrowsCase(final String name,
                                                     final I input,
                                                     final Class<? extends Throwable> expectedThrowableType) {

            final TestCase<I, O> testCase = (TestCase<I, O>) TestCase.throwing(name, input, expectedThrowableType);
            addCase(testCase);
            return this;
        }
Add a test case to the {@link DynamicTest} {@link Stream} that is expected to throw
an exception with type expectedThrowableType. The exception assertion will be done for
you and any with*Assertion* steps will not be called.

@param name                  The name of the test case.
@param input                 The input to the test case.
@param expectedThrowableType The expected class of the exception that will be thrown.
stroom-test-common/src/main/java/stroom/test/common/DynamicTestBuilder.java