public class FastUnitTestInternalUtils
extends java.lang.Object
Constructor and Description |
---|
FastUnitTestInternalUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
setField(java.lang.Class clazz,
java.lang.Object obj,
java.lang.String fieldName,
java.lang.Object fieldValue) |
static void |
setField(java.lang.Object obj,
java.lang.String fieldName,
java.lang.Object fieldValue) |
static void |
setStaticField(java.lang.Class clazz,
java.lang.String fieldName,
java.lang.Object fieldValue) |
static <T extends java.lang.Exception> |
verifyExpectedException(TestCommand test,
ExceptionVerifier<T> exceptionVerifier) |
public static void setStaticField(java.lang.Class clazz, java.lang.String fieldName, java.lang.Object fieldValue) throws java.lang.Exception
java.lang.Exception
public static void setField(java.lang.Object obj, java.lang.String fieldName, java.lang.Object fieldValue) throws java.lang.Exception
java.lang.Exception
public static void setField(java.lang.Class clazz, java.lang.Object obj, java.lang.String fieldName, java.lang.Object fieldValue) throws java.lang.Exception
java.lang.Exception
public static <T extends java.lang.Exception> void verifyExpectedException(TestCommand test, ExceptionVerifier<T> exceptionVerifier)