Interface ExpectFailure.SimpleSubjectBuilderCallback<S extends Subject,​A>

  • Enclosing class:
    ExpectFailure

    public static interface ExpectFailure.SimpleSubjectBuilderCallback<S extends Subject,​A>
    A "functional interface" for expectFailureAbout() to invoke and capture failures.

    Users should pass a lambda to .expectFailureAbout() rather than directly implement this interface.