()
| 263 | |
| 264 | // parseToStream - Stream |
| 265 | @Test |
| 266 | public void parseToStreamUTFSStream() throws Exception { |
| 267 | InputStream is = new ByteArrayInputStream( |
| 268 | "{\"utf\":\"aériennes\",\"ascii\":\"aariennes\"}".getBytes("UTF8")); |
| 269 | HashMap<String, String> map = this.parseToMap(is); |
| 270 | assertEquals("aériennes", map.get("utf")); |
| 271 | assertEquals("aariennes", map.get("ascii")); |
| 272 | } |
| 273 | |
| 274 | @Test |
| 275 | public void parseToStreamASCIIStream() throws Exception { |
nothing calls this directly
no test coverage detected