@Test public void checkGetProperties() { List<String> result = ((AbstractSimpleController) this.component).getProperties(); Assert.assertEquals(6, result.size()); Assert.assertThat(result, Matchers.hasItem(INDICATION_FOR_REFERRAL)); Assert.assertThat(result, Matchers.hasItem(FAMILY_HISTORY)); Assert.assertThat(result, Matchers.hasItem(PRENATAL_DEVELOPMENT)); Assert.assertThat(result, Matchers.hasItem(MEDICAL_HISTORY)); Assert.assertThat(result, Matchers.hasItem(DIAGNOSIS_NOTES)); Assert.assertThat(result, Matchers.hasItem(GENETIC_NOTES)); }
@Override protected List<String> getProperties() { return Arrays.asList("indication_for_referral", "family_history", "prenatal_development", "medical_history", "diagnosis_notes", "genetic_notes"); }
TextNotesController extends AbstractSimpleController { @Override protected List<String> getProperties() { return Arrays.asList("indication_for_referral", "family_history", "prenatal_development", "medical_history", "diagnosis_notes", "genetic_notes"); } }
TextNotesController extends AbstractSimpleController { @Override protected List<String> getProperties() { return Arrays.asList("indication_for_referral", "family_history", "prenatal_development", "medical_history", "diagnosis_notes", "genetic_notes"); }  }
TextNotesController extends AbstractSimpleController { @Override protected List<String> getProperties() { return Arrays.asList("indication_for_referral", "family_history", "prenatal_development", "medical_history", "diagnosis_notes", "genetic_notes"); }  @Override String getName(); }
TextNotesController extends AbstractSimpleController { @Override protected List<String> getProperties() { return Arrays.asList("indication_for_referral", "family_history", "prenatal_development", "medical_history", "diagnosis_notes", "genetic_notes"); }  @Override String getName();  }