public static NetFlowV9Packet parsePacket(ByteBuf bb, NetFlowV9FieldTypeRegistry typeRegistry) {
        return parsePacket(bb, typeRegistry, Maps.newHashMap(), null);
    }
@Test
    public void testParseIncomplete() throws Exception {
        final byte[] b = Resources.toByteArray(Resources.getResource("netflow-data/netflow-v9-3_incomplete.dat"));
        assertThatExceptionOfType(EmptyTemplateException.class)
                .isThrownBy(() -> NetFlowV9Parser.parsePacket(Unpooled.wrappedBuffer(b), typeRegistry));
    }