/** Test of getStartTime method, of class MidiNote. */
 @Test
 public void getStartTime() {
   System.out.println("getStartTime");
   long expResult = 5L;
   MidiNote instance = new MidiNote(55, expResult, 6);
   long result = instance.getStartTime();
   assertEquals(expResult, result);
 }
 public static void assertMidiNoteEqual(
     MidiNote mn, int pitch, int velocity, long startTime, long duration, int channel) {
   assertEquals(pitch, mn.getPitch());
   assertEquals(velocity, mn.getVelocity());
   assertEquals(startTime, mn.getStartTime());
   assertEquals(duration, mn.getDuration());
   assertEquals(channel, mn.getChannel());
 }
 /** Test of setStartTime method, of class MidiNote. */
 @Test
 public void setStartTime() {
   System.out.println("setStartTime");
   long startTime = 20;
   MidiNote instance = new MidiNote();
   instance.setStartTime(startTime);
   long result = instance.getStartTime();
   assertEquals(startTime, result);
 }