()
| 205 | } |
| 206 | |
| 207 | @Test |
| 208 | public void testWriteRaw() { |
| 209 | Metadata raw = new Metadata(KEY.asciiName(), LANCE_BYTES); |
| 210 | Fish lance = raw.get(KEY); |
| 211 | assertEquals(lance, new Fish(LANCE)); |
| 212 | // Reading again should return the same parsed instance |
| 213 | assertEquals(lance, raw.get(KEY)); |
| 214 | } |
| 215 | |
| 216 | @Test |
| 217 | public void testSerializeRaw() { |
nothing calls this directly
no test coverage detected