AbstractReplacement { public void setSection(Section section) { this.section = section; } protected  AbstractReplacement(Section section, String type); String getType(); void setType(String type); Section getSection(); void setSection(Section section); abstract List<ReplaceEntity> getReplacements(ScriptStep step, String searchQuery, String replaceString,
            SearchMode searchMode); abstract void replace(ScriptStep step, String replaceString, String key, ReplaceMode replaceMode);  }
@Test public void testSetSection_1() throws Exception { AbstractReplacement fixture = new HostReplacement(); Section section = null; fixture.setSection(section); }