Class BasicTestOfExceptionalCall<T extends Exception>

Type Parameters:
T - the type of the expected exception
All Implemented Interfaces:
Test<TestOfExceptionalCall<T>,ExpectedException<T>,ResultOfExceptionalCall<T>,ActualException<T>>, TestOfExceptionalCall<T>

public class BasicTestOfExceptionalCall<T extends Exception> extends BasicTest<TestOfExceptionalCall<T>,ExpectedException<T>,ResultOfExceptionalCall<T>,ActualException<T>> implements TestOfExceptionalCall<T>

A basic implementation of a test of a throwable call.

  • Constructor Details

    • BasicTestOfExceptionalCall

      public BasicTestOfExceptionalCall(Environment environment, ExpectedException<T> expected)

      Constructs a new test of a throwable call with the given environment and expected exception.

      Parameters:
      environment - the environment
      expected - the expected exception
  • Method Details