@Test public void checkGetProperties() throws ComponentLookupException { List<String> result = ((AbstractComplexController<Integer>) this.mocker.getComponentUnderTest()).getProperties(); Assert.assertEquals(3, result.size()); Assert.assertThat(result, Matchers.hasItem(CONSANGUINITY)); Assert.assertThat(result, Matchers.hasItem(MISCARRIAGES)); Assert.assertThat(result, Matchers.hasItem(AFFECTED_RELATIVES)); }
@Override protected List<String> getProperties() { return Arrays.asList(CONSANGUINITY, MISCARRIAGES, AFFECTED_RELATIVES); }
FamilyHistoryController extends AbstractComplexController<Integer> { @Override protected List<String> getProperties() { return Arrays.asList(CONSANGUINITY, MISCARRIAGES, AFFECTED_RELATIVES); } }
FamilyHistoryController extends AbstractComplexController<Integer> { @Override protected List<String> getProperties() { return Arrays.asList(CONSANGUINITY, MISCARRIAGES, AFFECTED_RELATIVES); }  }
FamilyHistoryController extends AbstractComplexController<Integer> { @Override protected List<String> getProperties() { return Arrays.asList(CONSANGUINITY, MISCARRIAGES, AFFECTED_RELATIVES); }  @Override String getName(); }
FamilyHistoryController extends AbstractComplexController<Integer> { @Override protected List<String> getProperties() { return Arrays.asList(CONSANGUINITY, MISCARRIAGES, AFFECTED_RELATIVES); }  @Override String getName();  }