### Question:
RelativeEffectPresentation extends PresentationModel<RelativeEffect<? extends Measurement>> implements LabeledPresentation { public AbstractValueModel getLabelModel() { return new LabelModel(); } RelativeEffectPresentation(RelativeEffect<? extends Measurement> bean); AbstractValueModel getLabelModel(); @Override String toString();  }### Answer:
@Test public void testGetLabel() { assertEquals(LABELCONTENTS, d_presentation.getLabelModel().getValue()); }
@Test public void testPropertyChangeEvents() { d_denominator.setRate(1); AbstractValueModel labelModel = d_presentation.getLabelModel(); PropertyChangeListener l = JUnitUtil.mockListener(labelModel, "value", null, LABELCONTENTS); labelModel.addPropertyChangeListener(l); d_denominator.setRate(s_effectDen); verify(l); }
@Test public void testLabelNumeratorChanged() { d_numerator.setRate(1); AbstractValueModel labelModel = d_presentation.getLabelModel(); PropertyChangeListener l = JUnitUtil.mockListener(labelModel, "value", null, LABELCONTENTS); labelModel.addPropertyChangeListener(l); d_numerator.setRate(s_effectNum); verify(l); }