/** testLength - is used to test the arrayLength method of the of the AudioList class. */
  public void testArrayLength() {
    // declarations and initializations
    AudioList arrayLength = new AudioList();
    AudioFile af = new AudioFile("test", "test", "test", 1);

    // Test 1 - make 16 new files and test
    for (int i = 0; i < 16; i++) {
      arrayLength.add(af);
    }
    assertEquals(16, arrayLength.arrayLength());

    // Test 2 - add 32 more files and re-test
    for (int i = 0; i < 32; i++) {
      arrayLength.add(af);
    }
    assertEquals(48, arrayLength.arrayLength());
  } // end testArrayLength method