ExpectedExceptional

public final class ExpectedExceptional(source)

A collection of methods for building expected exceptional behaviors.

Author

Dustin Glaser

Functions

Link copied to clipboard
public static ExpectedException<T> instanceOf<T extends Exception>(Class<T> type)
Returns an expected behavior where an exception of the given type is expected to be thrown.