### Question:
StudyPresentation extends PresentationModel<Study> { public List<BasicArmPresentation> getArms() { List<BasicArmPresentation> list = new ArrayList<BasicArmPresentation>(); for (Arm arm : getBean().getArms()) { list.add((BasicArmPresentation) d_pmf.getModel(arm)); } return list; } StudyPresentation(Study s, PresentationModelFactory pmf); StudyCharacteristicHolder getCharacteristicModel(Characteristic c); boolean isStudyFinished(); int getArmCount(); List<BasicArmPresentation> getArms(); int getPopulationCharacteristicCount(); List<? extends Variable> getPopulationCharacteristics(); LabeledPresentation getCharacteristicModel(BasicStudyCharacteristic c); List<OutcomeMeasure> getEndpoints(); List<OutcomeMeasure> getAdverseEvents(); PopulationCharTableModel getPopulationCharTableModel(); TableModel getEndpointTableModel(); TableModel getAdverseEventTableModel();  }### Answer:
@Test public void testGetArms() { Arm arm = d_study.createAndAddArm("X", 0, new Drug("X", "Y"), null); assertEquals(Collections.singletonList(d_pmf.getModel(arm)), d_model.getArms()); }