AbstractReplacement { public Section getSection() { return 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 testGetSection_1() throws Exception { AbstractReplacement fixture = new HostReplacement(); Section result = fixture.getSection(); assertNotNull(result); assertEquals("host", result.getValue()); assertEquals("Host", result.getDisplay()); }