The tested methods and constructors are invoked -- each time with one parameter being null and the rest not null -- and the test fails if no expected exception is thrown. {@code NullPointerTester} uses best effort topick non-null default values for many common JDK and Guava types, and also for interfaces and public classes that have public parameter-less constructors. When the non-null default value for a particular parameter type cannot be provided by {@code NullPointerTester}, the caller can provide a custom non-null default value for the parameter type via {@link #setDefault}. @author Kevin Bourrillion @since 10.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|