()
| 272 | } |
| 273 | |
| 274 | @Test |
| 275 | public void parseToStreamASCIIStream() throws Exception { |
| 276 | InputStream is = new ByteArrayInputStream( |
| 277 | "{\"utf\":\"aeriennes\",\"ascii\":\"aariennes\"}".getBytes()); |
| 278 | HashMap<String, String> map = this.parseToMap(is); |
| 279 | assertEquals("aeriennes", map.get("utf")); |
| 280 | assertEquals("aariennes", map.get("ascii")); |
| 281 | } |
| 282 | |
| 283 | @Test (expected = IllegalArgumentException.class) |
| 284 | public void parseToStreamStreamNull() throws Exception { |
nothing calls this directly
no test coverage detected