### Question:
GP4Parser implements Parser { private void readTrack(InputStream is, int trackIndex) throws IOException { int header = helper.readUnsignedByte(is); boolean isDrumsTrack = ((header & ParserHelper.BITMASK_1) != 0); boolean is12StringedGuitarTrack = ((header & ParserHelper.BITMASK_2) != 0); boolean isBanjoTrack = ((header & ParserHelper.BITMASK_3) != 0); String name = helper.readStringByte(is, 40); int numberOfStrings = helper.readInt(is); this.listener.readTrackParameter(trackIndex, name, numberOfStrings, isDrumsTrack, is12StringedGuitarTrack, isBanjoTrack); for (int stringIndex = 0; stringIndex < GP4_NUMBER_OF_STRING; stringIndex++) { int tunning = helper.readInt(is); this.listener.readStringTunning(trackIndex, stringIndex, tunning); } int midiPort = helper.readInt(is); int midiChannel = helper.readInt(is); int midiChannelEffect = helper.readInt(is); int numberOfFrets = helper.readInt(is); int capo = helper.readInt(is); int r = helper.readUnsignedByte(is); int g = helper.readUnsignedByte(is); int b = helper.readUnsignedByte(is); int white = helper.readUnsignedByte(is); this.listener.readTrackMidiParameter(trackIndex, midiPort, midiChannel, midiChannelEffect, numberOfFrets, capo, r, g, b); }  void close(); void openFile(File file); @Inject void setListener(GP4ParserListener listener); static final int VERSION_LENGTH; }### Answer:
@Test public void testReadTrack() throws Exception { instance.openFile(simpleFile); Mockito.verify(listener).readTrackParameter(0, "Track 1", 6, false, false, false); }