public class BeanTestBase extends Object
| Constructor and Description |
|---|
BeanTestBase() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
testJSON(T testObject,
Class<T> testObjectClass)
Validate that an object generated from a JSON String has the same content as the object used to
create the JSON String.
|
<T> T |
testResponseObject(T testObject,
T clonedObject,
T differentObject,
Class<T> testObjectClass)
Test a Bean
|
protected <T> T testJSON(T testObject,
Class<T> testObjectClass)
T - class typetestObject - object to testtestObjectClass - object's classpublic <T> T testResponseObject(T testObject,
T clonedObject,
T differentObject,
Class<T> testObjectClass)
T - class markertestObject - filled out beanclonedObject - bean cloned from the test objectdifferentObject - bean filled out differentlytestObjectClass - class of the beanCopyright © 2018–2020 ODPi. All rights reserved.