### Question:
GP4Parser implements Parser { private void readOtherInformations(InputStream is) throws IOException { int tempoValue = helper.readInt(is); this.listener.readTempoValue(tempoValue); int key = helper.readByte(is); this.listener.readKey(key); int octave = helper.readInt(is); this.listener.readOctave(octave); final int NUMBER_OF_PORTS = 4; final int NUMBER_OF_CHANNELS = 16; for (int port = 0; port < NUMBER_OF_PORTS; port++) { for (int channel = 0; channel < NUMBER_OF_CHANNELS; channel++) { int instrument = helper.readInt(is); byte volume = helper.readByte(is); byte balance = helper.readByte(is); byte chorus = helper.readByte(is); byte reverb = helper.readByte(is); byte phaser = helper.readByte(is); byte tremolo = helper.readByte(is); byte blank1 = helper.readByte(is); byte blank2 = helper.readByte(is); listener.readMidiChannel(port, channel, instrument, volume, balance, chorus, reverb, phaser, tremolo); } } numberOfMeasures = helper.readInt(is); numberOfTracks = helper.readInt(is); this.listener.readNumberOfTracks(numberOfTracks); this.listener.readNumberOfMesures(numberOfMeasures); }  void close(); void openFile(File file); @Inject void setListener(GP4ParserListener listener); static final int VERSION_LENGTH; }### Answer:
@Test public void testReadOtherInformations() throws Exception { instance.openFile(simpleFile); Mockito.verify(listener).readTempoValue(120); Mockito.verify(listener).readKey(0); Mockito.verify(listener).readOctave(0); Mockito.verify(listener).readMidiChannel(0, 0, 25, (byte) 7, (byte) 3, (byte) 0, (byte) 0, (byte) 0, (byte) 0); Mockito.verify(listener).readMidiChannel(0, 1, 25, (byte) 7, (byte) 3, (byte) 0, (byte) 0, (byte) 0, (byte) 0); Mockito.verify(listener).readNumberOfMesures(3); Mockito.verify(listener).readNumberOfTracks(1); }