@Test public void checkGetProperties() { List<String> result = ((AbstractSimpleController) this.component).getProperties(); Assert.assertEquals(4, result.size()); Assert.assertThat(result, Matchers.hasItem("maternal_last_name")); Assert.assertThat(result, Matchers.hasItem("maternal_first_name")); Assert.assertThat(result, Matchers.hasItem("paternal_last_name")); Assert.assertThat(result, Matchers.hasItem("paternal_first_name")); }
@Override protected List<String> getProperties() { return Arrays.asList("maternal_last_name", "maternal_first_name", "paternal_last_name", "paternal_first_name"); }
ParentalNamesController extends AbstractSimpleController { @Override protected List<String> getProperties() { return Arrays.asList("maternal_last_name", "maternal_first_name", "paternal_last_name", "paternal_first_name"); } }
ParentalNamesController extends AbstractSimpleController { @Override protected List<String> getProperties() { return Arrays.asList("maternal_last_name", "maternal_first_name", "paternal_last_name", "paternal_first_name"); }  }
ParentalNamesController extends AbstractSimpleController { @Override protected List<String> getProperties() { return Arrays.asList("maternal_last_name", "maternal_first_name", "paternal_last_name", "paternal_first_name"); }  @Override String getName(); }
ParentalNamesController extends AbstractSimpleController { @Override protected List<String> getProperties() { return Arrays.asList("maternal_last_name", "maternal_first_name", "paternal_last_name", "paternal_first_name"); }  @Override String getName(); static final EntityReference CLASS_REFERENCE; }