org.mockito.internal.util
Class Checks

java.lang.Object
  extended by org.mockito.internal.util.Checks

public class Checks
extends java.lang.Object

Pre-made preconditions


Constructor Summary
Checks()
           
 
Method Summary
static
<T extends java.lang.Iterable>
T
checkItemsNotNull(T iterable, java.lang.String checkedIterable)
           
static
<T> T
checkNotNull(T value, java.lang.String checkedValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Checks

public Checks()
Method Detail

checkNotNull

public static <T> T checkNotNull(T value,
                                 java.lang.String checkedValue)

checkItemsNotNull

public static <T extends java.lang.Iterable> T checkItemsNotNull(T iterable,
                                                                 java.lang.String checkedIterable)