@Test public void checkGetProperties() throws ComponentLookupException { List<String> result = ((AbstractComplexController<Map<String, String>>) this.mocker.getComponentUnderTest()).getProperties(); Assert.assertEquals(16, result.size()); Assert.assertThat(result, Matchers.hasItem(VARIANT_KEY)); Assert.assertThat(result, Matchers.hasItem(GENE_KEY)); Assert.assertThat(result, Matchers.hasItem(PROTEIN_KEY)); Assert.assertThat(result, Matchers.hasItem(TRANSCRIPT_KEY)); Assert.assertThat(result, Matchers.hasItem(DBSNP_KEY)); Assert.assertThat(result, Matchers.hasItem(ZYGOSITY_KEY)); Assert.assertThat(result, Matchers.hasItem(EFFECT_KEY)); Assert.assertThat(result, Matchers.hasItem(INTERPRETATION_KEY)); Assert.assertThat(result, Matchers.hasItem(INHERITANCE_KEY)); Assert.assertThat(result, Matchers.hasItem(EVIDENCE_KEY)); Assert.assertThat(result, Matchers.hasItem(SEGREGATION_KEY)); Assert.assertThat(result, Matchers.hasItem(SANGER_KEY)); Assert.assertThat(result, Matchers.hasItem(CHROMOSOME_KEY)); Assert.assertThat(result, Matchers.hasItem(START_POSITION_KEY)); Assert.assertThat(result, Matchers.hasItem(END_POSITION_KEY)); Assert.assertThat(result, Matchers.hasItem(REFERENCE_GENOME_KEY)); }
@Override protected List<String> getProperties() { return Arrays.asList(INTERNAL_VARIANT_KEY, INTERNAL_GENE_KEY, INTERNAL_PROTEIN_KEY, INTERNAL_TRANSCRIPT_KEY, INTERNAL_DBSNP_KEY, INTERNAL_ZYGOSITY_KEY, INTERNAL_EFFECT_KEY, INTERNAL_INTERPRETATION_KEY, INTERNAL_INHERITANCE_KEY, INTERNAL_EVIDENCE_KEY, INTERNAL_SEGREGATION_KEY, INTERNAL_SANGER_KEY, INTERNAL_CHROMOSOME_KEY, INTERNAL_START_POSITION_KEY, INTERNAL_END_POSITION_KEY, INTERNAL_REFERENCE_GENOME_KEY); }
VariantListController extends AbstractComplexController<Map<String, String>> { @Override protected List<String> getProperties() { return Arrays.asList(INTERNAL_VARIANT_KEY, INTERNAL_GENE_KEY, INTERNAL_PROTEIN_KEY, INTERNAL_TRANSCRIPT_KEY, INTERNAL_DBSNP_KEY, INTERNAL_ZYGOSITY_KEY, INTERNAL_EFFECT_KEY, INTERNAL_INTERPRETATION_KEY, INTERNAL_INHERITANCE_KEY, INTERNAL_EVIDENCE_KEY, INTERNAL_SEGREGATION_KEY, INTERNAL_SANGER_KEY, INTERNAL_CHROMOSOME_KEY, INTERNAL_START_POSITION_KEY, INTERNAL_END_POSITION_KEY, INTERNAL_REFERENCE_GENOME_KEY); } }
VariantListController extends AbstractComplexController<Map<String, String>> { @Override protected List<String> getProperties() { return Arrays.asList(INTERNAL_VARIANT_KEY, INTERNAL_GENE_KEY, INTERNAL_PROTEIN_KEY, INTERNAL_TRANSCRIPT_KEY, INTERNAL_DBSNP_KEY, INTERNAL_ZYGOSITY_KEY, INTERNAL_EFFECT_KEY, INTERNAL_INTERPRETATION_KEY, INTERNAL_INHERITANCE_KEY, INTERNAL_EVIDENCE_KEY, INTERNAL_SEGREGATION_KEY, INTERNAL_SANGER_KEY, INTERNAL_CHROMOSOME_KEY, INTERNAL_START_POSITION_KEY, INTERNAL_END_POSITION_KEY, INTERNAL_REFERENCE_GENOME_KEY); }  }
VariantListController extends AbstractComplexController<Map<String, String>> { @Override protected List<String> getProperties() { return Arrays.asList(INTERNAL_VARIANT_KEY, INTERNAL_GENE_KEY, INTERNAL_PROTEIN_KEY, INTERNAL_TRANSCRIPT_KEY, INTERNAL_DBSNP_KEY, INTERNAL_ZYGOSITY_KEY, INTERNAL_EFFECT_KEY, INTERNAL_INTERPRETATION_KEY, INTERNAL_INHERITANCE_KEY, INTERNAL_EVIDENCE_KEY, INTERNAL_SEGREGATION_KEY, INTERNAL_SANGER_KEY, INTERNAL_CHROMOSOME_KEY, INTERNAL_START_POSITION_KEY, INTERNAL_END_POSITION_KEY, INTERNAL_REFERENCE_GENOME_KEY); }  @Override String getName(); @Override PatientData<Map<String, String>> load(Patient patient); @SuppressWarnings("checkstyle:CyclomaticComplexity") @Override void writeJSON(Patient patient, JSONObject json, Collection<String> selectedFieldNames); @Override PatientData<Map<String, String>> readJSON(JSONObject json); @Override void save(Patient patient); @Override void save(@Nonnull final Patient patient, @Nonnull final PatientWritePolicy policy); }
VariantListController extends AbstractComplexController<Map<String, String>> { @Override protected List<String> getProperties() { return Arrays.asList(INTERNAL_VARIANT_KEY, INTERNAL_GENE_KEY, INTERNAL_PROTEIN_KEY, INTERNAL_TRANSCRIPT_KEY, INTERNAL_DBSNP_KEY, INTERNAL_ZYGOSITY_KEY, INTERNAL_EFFECT_KEY, INTERNAL_INTERPRETATION_KEY, INTERNAL_INHERITANCE_KEY, INTERNAL_EVIDENCE_KEY, INTERNAL_SEGREGATION_KEY, INTERNAL_SANGER_KEY, INTERNAL_CHROMOSOME_KEY, INTERNAL_START_POSITION_KEY, INTERNAL_END_POSITION_KEY, INTERNAL_REFERENCE_GENOME_KEY); }  @Override String getName(); @Override PatientData<Map<String, String>> load(Patient patient); @SuppressWarnings("checkstyle:CyclomaticComplexity") @Override void writeJSON(Patient patient, JSONObject json, Collection<String> selectedFieldNames); @Override PatientData<Map<String, String>> readJSON(JSONObject json); @Override void save(Patient patient); @Override void save(@Nonnull final Patient patient, @Nonnull final PatientWritePolicy policy);  }