test

public abstract boolean test(Class<T> object)(source)

Returns if the given type is of the expected type.

Return

if the given type is of the expected type

Parameters

object

the type to test


public abstract boolean test(T exception)(source)

Returns if the given exception is as expected.

Return

if the given exception is of the expected

Parameters

exception

the exception to test