FingeringPattern { public List<Fingering> getFingering() { if (fingering == null) { fingering = new ArrayList<Fingering>(); } return this.fingering; }  String getName(); void setName(String value); String getComment(); void setComment(String value); BigInteger getNumberOfHoles(); void setNumberOfHoles(BigInteger value); List<Fingering> getFingering(); void setFingering(List<Fingering> aFingering);  }
@Test public final void testGetFingering() { try { if (inputElement == null) { unmarshalInput(); } Fingering fingering = inputElement.getFingering().get(3); assertEquals("Fingering note name incorrect", "C#", fingering .getNote().getName()); assertEquals("Hole 4 status incorrect", false, fingering .getOpenHole().get(3)); } catch (Exception e) { fail(e.getMessage()); } }