Temperament { public List<Double> getRatio() { if (ratio == null) { ratio = new ArrayList<Double>(); } return this.ratio; }  String getName(); void setName(String value); String getComment(); void setComment(String value); List<Double> getRatio(); void setRatio(List<Double> aRatio);  }
@Test public final void testGetInterval() { try { if (inputElement == null) { unmarshalInput(); } double interval = inputElement.getRatio().get(1); assertEquals("Temperament interval incoorect", 1.059, interval, 0.001); } catch (Exception e) { fail(e.getMessage()); } }