### Question:
HeaderParser { public static CustomHeader parse(File map) throws ParseException, IOException { ByteSource bs = Files.asByteSource(map); return parse(bs); }  static CustomHeader parse(File map); static CustomHeader parse(byte[] map); static CustomHeader parse(ByteSource source); static int findEndOfHeader(ByteSource source);  }### Answer:
@Test public void testParseRoundTrip() throws Exception { CustomHeader header = new CustomHeader(); byte[] expecteds = header.generateHeader(); byte[] actuals = HeaderParser.parse(expecteds).generateHeader(); assertArrayEquals(expecteds, actuals); }