### Question:
DefaultScriptParser implements ScriptParser { public String getNextStatement() { try { return getNextStatementImpl(); } catch (IOException e) { throw new DbMaintainException("Unable to parse next statement from script.", e); } } DefaultScriptParser(Reader scriptReader, ParsingState initialParsingState, boolean backSlashEscapingEnabled,
                               Properties scriptParameters); String getNextStatement();  }### Answer:
@Test void replaceParameters() { Properties scriptParameters = new Properties(); scriptParameters.put("param1", "param1Value"); ScriptParser parser = createScriptParser(new StringReader( "parameter ${param0} must not be replaced, parameter ${param1} must be replaced;"), scriptParameters); assertEquals("parameter ${param0} must not be replaced, parameter param1Value must be replaced", parser.getNextStatement()); }