mirror of
https://github.com/stleary/JSON-java.git
synced 2026-04-04 00:00:53 -04:00
- Updating for java 1.6
- Resolving Sonar cube issues.
This commit is contained in:
@@ -4114,7 +4114,6 @@ public class JSONObjectTest {
|
||||
object.put("number", 12);
|
||||
object.put("name", "Alex");
|
||||
object.put("longNumber", 1500000000L);
|
||||
String jsonObject = object.toString();
|
||||
CustomClass customClass = object.fromJson(CustomClass.class);
|
||||
CustomClass compareClass = new CustomClass(12, "Alex", 1500000000L);
|
||||
assertEquals(customClass, compareClass);
|
||||
|
||||
Reference in New Issue
Block a user