data class for recursive test

This commit is contained in:
Zach 2021-11-17 17:23:40 -06:00
parent b5bcb68968
commit 4565bddcbb

View File

@ -0,0 +1,22 @@
package org.json.junit.data;
/**
* test class for verifying if recursively defined bean can be correctly identified
* @author Zetmas
*
*/
public class RecursiveBean {
private String name;
private Object reference;
public String getName() { return name; }
public Object getRef() {return reference;}
public RecursiveBean(String name) {
this.name = name;
reference = null;
}
public RecursiveBean(String name, Object refObj) {
this.name = name;
reference = refObj;
}
}