### Question:
HeaderParser { protected static int readAfterBytes(byte[] header, int off, byte[] b) { int i = KMPMatch.indexOf(header, b, off); if(i >= 0) { return i + b.length; } else { return -1; } }  static CustomHeader parse(File map); static CustomHeader parse(byte[] map); static CustomHeader parse(ByteSource source); static int findEndOfHeader(ByteSource source);  }### Answer:
@Test public void testReadAfterBytes() throws Exception { int expected = 23; int actual = HeaderParser.readAfterBytes(inputString, 0, new byte[]{ (byte)0x61, (byte)0x00, (byte)0x74 }); assertEquals(expected, actual); }