public final class TestBeanUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
assertReadWritePropertiesEquals(TestBean expected,
TestBean actual)
Asserts that all properties that are readable and writable on
actual are equal to those on
expected . |
static void |
assertShallow(TestBean referenced,
TestBean referencing)
Asserts, that complex properties of
referenced are the same as in referencing (that they are just
referenced). |
static void |
changeArrayProperties(TestBean testBean) |
static void |
changeScalarProperties(TestBean testBean) |
public static void changeArrayProperties(TestBean testBean)
public static void changeScalarProperties(TestBean testBean)
public static void assertReadWritePropertiesEquals(TestBean expected, TestBean actual)
actual
are equal to those on
expected
.expected
- the TestBean
with the expected properties.actual
- the TestBean
with the actual values.public static void assertShallow(TestBean referenced, TestBean referencing)
referenced
are the same as in referencing
(that they are just
referenced).Copyright © 2012–2014 The Apache Software Foundation. All rights reserved.