@Test public void checkGetProperties() throws ComponentLookupException { List<String> result = ((AbstractComplexController<List<String>>) this.component).getProperties(); Assert.assertEquals(2, result.size()); Assert.assertThat(result, Matchers.hasItem(MATERNAL)); Assert.assertThat(result, Matchers.hasItem(PATERNAL)); }
@Override protected List<String> getProperties() { return Arrays.asList("maternal_ethnicity", "paternal_ethnicity"); }
EthnicityController extends AbstractComplexController<List<String>> { @Override protected List<String> getProperties() { return Arrays.asList("maternal_ethnicity", "paternal_ethnicity"); } }
EthnicityController extends AbstractComplexController<List<String>> { @Override protected List<String> getProperties() { return Arrays.asList("maternal_ethnicity", "paternal_ethnicity"); }  }
EthnicityController extends AbstractComplexController<List<String>> { @Override protected List<String> getProperties() { return Arrays.asList("maternal_ethnicity", "paternal_ethnicity"); }  @Override String getName(); }
EthnicityController extends AbstractComplexController<List<String>> { @Override protected List<String> getProperties() { return Arrays.asList("maternal_ethnicity", "paternal_ethnicity"); }  @Override String getName();  }