AbstractReplacement { protected void replaceInRequestDatas(Set<RequestData> requestDatas, String replaceString, String key) { for (RequestData requestData : requestDatas) { if (requestData.getKey().equals(key)) { requestData.setValue(replaceString); } } } 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 testReplaceInRequestDatas_1() throws Exception { AbstractReplacement fixture = new HostReplacement(); Set<RequestData> requestDatas = new HashSet(); String replaceString = ""; String key = ""; fixture.replaceInRequestDatas(requestDatas, replaceString, key); }
@Test public void testReplaceInRequestDatas_2() throws Exception { AbstractReplacement fixture = new HostReplacement(); Set<RequestData> requestDatas = new HashSet(); String replaceString = ""; String key = ""; fixture.replaceInRequestDatas(requestDatas, replaceString, key); }
@Test public void testReplaceInRequestDatas_3() throws Exception { AbstractReplacement fixture = new HostReplacement(); Set<RequestData> requestDatas = new HashSet(); String replaceString = ""; String key = ""; fixture.replaceInRequestDatas(requestDatas, replaceString, key); }
@Test public void testReplaceInRequestDatas_4() throws Exception { AbstractReplacement fixture = new HostReplacement(); Set<RequestData> requestDatas = new HashSet(); String replaceString = ""; String key = ""; ReplaceMode replaceMode = ReplaceMode.KEY; fixture.replaceInRequestDatas(requestDatas, replaceString, key, replaceMode); }
@Test public void testReplaceInRequestDatas_5() throws Exception { AbstractReplacement fixture = new HostReplacement(); Set<RequestData> requestDatas = new HashSet(); String replaceString = ""; String key = ""; ReplaceMode replaceMode = ReplaceMode.KEY; fixture.replaceInRequestDatas(requestDatas, replaceString, key, replaceMode); }
@Test public void testReplaceInRequestDatas_6() throws Exception { AbstractReplacement fixture = new HostReplacement(); Set<RequestData> requestDatas = new HashSet(); String replaceString = ""; String key = ""; ReplaceMode replaceMode = ReplaceMode.KEY; fixture.replaceInRequestDatas(requestDatas, replaceString, key, replaceMode); }
@Test public void testReplaceInRequestDatas_7() throws Exception { AbstractReplacement fixture = new HostReplacement(); Set<RequestData> requestDatas = new HashSet(); String replaceString = ""; String key = ""; ReplaceMode replaceMode = ReplaceMode.KEY; fixture.replaceInRequestDatas(requestDatas, replaceString, key, replaceMode); }