@Test public void checkGetBooleanFields() throws ComponentLookupException { List<String> result = ((AbstractComplexController<Integer>) this.mocker.getComponentUnderTest()).getBooleanFields(); 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> getBooleanFields() { return this.booleans; }
FamilyHistoryController extends AbstractComplexController<Integer> { @Override protected List<String> getBooleanFields() { return this.booleans; } }
FamilyHistoryController extends AbstractComplexController<Integer> { @Override protected List<String> getBooleanFields() { return this.booleans; }  }
FamilyHistoryController extends AbstractComplexController<Integer> { @Override protected List<String> getBooleanFields() { return this.booleans; }  @Override String getName(); }
FamilyHistoryController extends AbstractComplexController<Integer> { @Override protected List<String> getBooleanFields() { return this.booleans; }  @Override String getName();  }