Skip to content

Commit 8343062

Browse files
committed
Update ReflectionDiffBuilderTest.TypeTestClass
- Add a BigDecimal field - Add a BigInteger field
1 parent 25dff14 commit 8343062

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/java/org/apache/commons/lang3/builder/ReflectionDiffBuilderTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
import static org.junit.jupiter.api.Assertions.assertEquals;
2020
import static org.junit.jupiter.api.Assertions.assertNotNull;
2121

22+
import java.math.BigDecimal;
23+
import java.math.BigInteger;
24+
2225
import org.apache.commons.lang3.AbstractLangTest;
2326
import org.junit.jupiter.api.Test;
2427

@@ -52,6 +55,8 @@ private static class TypeTestClass implements Diffable<TypeTestClass> {
5255
private final Object objectField = null;
5356
private final Object[] objectArrayField = { null };
5457
private transient String transientField;
58+
private final BigDecimal bigDecimal = BigDecimal.valueOf(2.0);
59+
private final BigInteger bigInteger = BigInteger.valueOf(2);
5560
@DiffExclude
5661
private String annotatedField = "a";
5762
private String excludedField = "a";

0 commit comments

Comments
 (0)