@Test public void checkGetProperties() { List<String> result = ((AbstractSimpleController) this.component).getProperties(); Assert.assertEquals(2, result.size()); Assert.assertThat(result, Matchers.hasItem(FIRST_NAME)); Assert.assertThat(result, Matchers.hasItem(LAST_NAME)); }
@Override protected List<String> getProperties() { return Arrays.asList("first_name", "last_name"); }
PatientNameController extends AbstractSimpleController { @Override protected List<String> getProperties() { return Arrays.asList("first_name", "last_name"); } }
PatientNameController extends AbstractSimpleController { @Override protected List<String> getProperties() { return Arrays.asList("first_name", "last_name"); }  }
PatientNameController extends AbstractSimpleController { @Override protected List<String> getProperties() { return Arrays.asList("first_name", "last_name"); }  @Override String getName(); }
PatientNameController extends AbstractSimpleController { @Override protected List<String> getProperties() { return Arrays.asList("first_name", "last_name"); }  @Override String getName();  }