JSONObject map type unit tests by stleary · Pull Request #685 · stleary/JSON-java
What problem does this code solve?
Set up unit tests for user-managed JSONObject map type. Ensure that all methods result in a JSONObject map type that matches the one created in the default constructor.
Risks
Low
Changes to the API?
Added a getMapType() method to JSONObject
Will this require a new release?
No
Should the documentation be updated?
No
Does it break the unit tests?
No
Was any code refactored in this commit?
A few unit tests were adjusted to make it easier to test multiple JSONObject and JSONArray instances.
Review status
APPROVED - by myself