### Question:
Domain { public abstract SortedSetModel<BenefitRiskAnalysis<?>> getBenefitRiskAnalyses();  abstract List<EntityCategory> getCategories(); abstract ObservableList<? extends Entity> getCategoryContents(EntityCategory node); abstract EntityCategory getCategory(Entity entity); abstract EntityCategory getCategory(Class<? extends Entity> entityClass); abstract SortedSetModel<Drug> getDrugs(); abstract ObservableList<TreatmentCategorization> getTreatmentCategorizations(); abstract SortedSetModel<Indication> getIndications(); abstract SortedSetModel<Endpoint> getEndpoints(); abstract SortedSetModel<AdverseEvent> getAdverseEvents(); abstract SortedSetModel<PopulationCharacteristic> getPopulationCharacteristics(); abstract SortedSetModel<Study> getStudies(); abstract ObservableList<TreatmentCategorization> getCategorizations(final Drug drug); abstract SortedSetModel<MetaAnalysis> getMetaAnalyses(); abstract SortedSetModel<BenefitRiskAnalysis<?>> getBenefitRiskAnalyses(); abstract SortedSetModel<Unit> getUnits(); abstract void deleteEntity(Entity entity); abstract boolean hasDependents(Entity entity); abstract ObservableList<MetaAnalysis> getPairWiseMetaAnalyses(); abstract ObservableList<MetaAnalysis> getNetworkMetaAnalyses(); abstract ObservableList<Study> getStudies(Variable e); abstract ObservableList<Study> getStudies(Drug d); abstract ObservableList<Study> getStudies(Indication i); static final Unit GRAM; static final Unit LITER; }### Answer:
@Test public void testAddStudyBenefitRiskAnalysis() throws Exception { StudyBenefitRiskAnalysis sbr = ExampleData.buildStudyBenefitRiskAnalysis(); ExampleData.initDefaultData(d_domain); d_domain.getBenefitRiskAnalyses().add(sbr); assertTrue(d_domain.getBenefitRiskAnalyses().contains(sbr)); assertEntityEquals(sbr, d_domain.getBenefitRiskAnalyses().get(0)); }