@Test
public void parsePacket() {

    String packet = "";
    try (InputStream i = Kv78ParserTest.class.getClassLoader().getResourceAsStream("kv7packet.ctx");
         InputStreamReader r = new InputStreamReader(i);
            BufferedReader bufferedReader = new BufferedReader(r)) {
        packet = bufferedReader.lines().collect(Collectors.joining("\r\n"));
    } catch (IOException e) {
        e.printStackTrace();
    }
    Kv78Packet p = Kv78Parser.parseMessage(packet);
    Assert.assertEquals("KV7turbo_planning", p.getType());
    Assert.assertEquals("openOV ProvFr", p.getComment());
    Assert.assertEquals("UTF-8", p.getEncoding());
    Assert.assertEquals("0.1", p.getVersion());
    Assert.assertEquals(ZonedDateTime.parse("2016-11-16T04:43:47+01:00"), p.getGenerated());
}