### Question:
WhenTakenPresentation extends PresentationModel<WhenTaken> { public DurationPresentation<WhenTaken> getOffsetPresentation() { return new DurationPresentation<WhenTaken>(getBean()); } WhenTakenPresentation(WhenTaken bean, ObservableList<Epoch> epochs); DurationPresentation<WhenTaken> getOffsetPresentation();  }### Answer:
@Test public void testOffsetPresentation() { DurationPresentation<WhenTaken> op = d_wtp.getOffsetPresentation(); op.setQuantity(1396); op.setUnits(DateUnits.Minutes); assertEquals(EntityUtil.createDuration("PT1396M"), d_wtp.getBean().getOffset()); }