0

test: fix

This commit is contained in:
2025-08-19 15:04:52 +03:00
parent 7a658cefd7
commit f9f9071caa

View File

@@ -33,7 +33,7 @@ public class ReflectionObjectTest {
//region Field tests
@Test
public void fieldsList() {
final List<String> expectedList = Arrays.asList("finalizedField", "simpleField");
final List<String> expectedList = Arrays.asList("finalizedField", "simpleField", "someIntField");
ReflectionObject refObj = new ReflectionObject(new SomeObject());
for (ReflectionField refField : refObj.fieldList()) {
@@ -105,7 +105,7 @@ public class ReflectionObjectTest {
//region Method tests
@Test
public void methodsList() {
final List<String> expectedList = Arrays.asList("getSimpleField", "setSimpleField");
final List<String> expectedList = Arrays.asList("getSimpleField", "setSimpleField", "getSomeIntField", "setSomeIntField");
ReflectionObject refObj = new ReflectionObject(new SomeObject());
for (ReflectionMethod refMethod : refObj.methodsList()) {