### Question:
FrequencyMeasurementPresentation extends PresentationModel<FrequencyMeasurement> implements LabeledPresentation { public AbstractValueModel getFrequencyModel(String category) { return new FrequencyModel(category); } FrequencyMeasurementPresentation(FrequencyMeasurement bean); AbstractValueModel getFrequencyModel(String category); AbstractValueModel getLabelModel();  }### Answer:
@Test public void testGetFrequencyModel() { AbstractValueModel vm = d_pm.getFrequencyModel("Male"); PropertyChangeListener l = JUnitUtil.mockListener(vm, "value", null, 50); vm.addPropertyChangeListener(l); d_measurement.setFrequency("Male", 50); verify(l); }