|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mycila.testing.core.api.Ensure
public final class Ensure
Utility class
| Method Summary | ||
|---|---|---|
static
|
accessible(T a)
Calls AccessibleObject.setAccessible(boolean)
and returns the same object |
|
static void |
notNull(String argName,
Object arg)
Check for not null parameters and throw and exception is null |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void notNull(String argName,
Object arg)
throws IllegalArgumentException
argName - Argument namearg - Argument
IllegalArgumentException - If the arg is nullpublic static <T extends AccessibleObject> T accessible(T a)
AccessibleObject.setAccessible(boolean)
and returns the same object
T - AccessibleObject instancea - Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||