test: fix
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user