MCPcopy Index your code
hub / github.com/assertj/assertj / failIfNull

Method failIfNull

src/main/java/org/assertj/core/internal/Maps.java:532–534  ·  view source on GitHub ↗
(K[] keys)

Source from the content-addressed store, hash-verified

530 }
531
532 private static <K> void failIfNull(K[] keys) {
533 if (keys == null) throw new NullPointerException("The array of keys to look for should not be null");
534 }
535
536 private static <K, V> void failIfNull(MapEntry<? extends K, ? extends V>[] entries) {
537 if (entries == null) throw new NullPointerException("The array of entries to look for should not be null");

Callers 4

assertContainsMethod · 0.95
doCommonContainsCheckMethod · 0.95
failIfNullOrEmptyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected