MicroarrayProfile extends DifferentialProfile<MicroarrayExpression, MicroarrayProfile> { @Override public Map<String, String> properties() { return ImmutableMap.<String, String>builder() .putAll(super.properties()) .put("designElement", designElementName) .build(); } MicroarrayProfile(String geneId, String geneName, String designElementName); @Override String[] identifiers(); @Override Map<String, String> properties(); String getDesignElementName();  }
@Test public void hasDefaultProperties() { assertThat(subject.properties(), hasEntry("id", GENE_ID)); assertThat(subject.properties(), hasEntry("name", GENE_NAME)); }
@Test public void hasDesignElementProperty() { assertThat(subject.properties(), hasEntry("designElement", DESIGN_ELEMENT_NAME)); }