@Test public void checkGetProperties() { List<String> result = ((AbstractComplexController<String>) this.component).getProperties(); Assert.assertEquals(10, result.size()); Assert.assertThat(result, Matchers.hasItem("gestation")); Assert.assertThat(result, Matchers.hasItem(GESTATION_TWIN)); Assert.assertThat(result, Matchers.hasItem(MULTIPLE_GESTATION)); Assert.assertThat(result, Matchers.hasItem(IVF)); Assert.assertThat(result, Matchers.hasItem(ICSI)); Assert.assertThat(result, Matchers.hasItem(ASSISTED_REPRODUCTION_IUI)); Assert.assertThat(result, Matchers.hasItem(ASSISTED_REPRODUCTION_FERTILITY_MEDS)); Assert.assertThat(result, Matchers.hasItem(ASSISTED_REPRODUCTION_SURROGACY)); Assert.assertThat(result, Matchers.hasItem(ASSISTED_REPRODUCTION_DONOR_EGG)); Assert.assertThat(result, Matchers.hasItem(ASSISTED_REPRODUCTION_DONOR_SPERM)); }
@Override protected List<String> getProperties() { return Arrays.asList("gestation", MULTIPLE_GESTATION, GESTATION_TWIN, ASSISTED_REPRODUCTION_IUI, IVF, ICSI, ASSISTED_REPRODUCTION_FERTILITY_MEDS, ASSISTED_REPRODUCTION_SURROGACY, ASSISTED_REPRODUCTION_DONOR_EGG, ASSISTED_REPRODUCTION_DONOR_SPERM); }
PrenatalPerinatalHistoryController extends AbstractComplexController<String> { @Override protected List<String> getProperties() { return Arrays.asList("gestation", MULTIPLE_GESTATION, GESTATION_TWIN, ASSISTED_REPRODUCTION_IUI, IVF, ICSI, ASSISTED_REPRODUCTION_FERTILITY_MEDS, ASSISTED_REPRODUCTION_SURROGACY, ASSISTED_REPRODUCTION_DONOR_EGG, ASSISTED_REPRODUCTION_DONOR_SPERM); } }
PrenatalPerinatalHistoryController extends AbstractComplexController<String> { @Override protected List<String> getProperties() { return Arrays.asList("gestation", MULTIPLE_GESTATION, GESTATION_TWIN, ASSISTED_REPRODUCTION_IUI, IVF, ICSI, ASSISTED_REPRODUCTION_FERTILITY_MEDS, ASSISTED_REPRODUCTION_SURROGACY, ASSISTED_REPRODUCTION_DONOR_EGG, ASSISTED_REPRODUCTION_DONOR_SPERM); }  }
PrenatalPerinatalHistoryController extends AbstractComplexController<String> { @Override protected List<String> getProperties() { return Arrays.asList("gestation", MULTIPLE_GESTATION, GESTATION_TWIN, ASSISTED_REPRODUCTION_IUI, IVF, ICSI, ASSISTED_REPRODUCTION_FERTILITY_MEDS, ASSISTED_REPRODUCTION_SURROGACY, ASSISTED_REPRODUCTION_DONOR_EGG, ASSISTED_REPRODUCTION_DONOR_SPERM); }  @Override String getName(); }
PrenatalPerinatalHistoryController extends AbstractComplexController<String> { @Override protected List<String> getProperties() { return Arrays.asList("gestation", MULTIPLE_GESTATION, GESTATION_TWIN, ASSISTED_REPRODUCTION_IUI, IVF, ICSI, ASSISTED_REPRODUCTION_FERTILITY_MEDS, ASSISTED_REPRODUCTION_SURROGACY, ASSISTED_REPRODUCTION_DONOR_EGG, ASSISTED_REPRODUCTION_DONOR_SPERM); }  @Override String getName();  }