@Test
public void testReplace() {

    ScenarioContext ctx = getContext();
    assertEquals("foo", Script.replacePlaceholderText("foo", "foo", "'bar'", ctx));
    assertEquals("bar", Script.replacePlaceholderText("<foo>", "foo", "'bar'", ctx));
    assertEquals("bar", Script.replacePlaceholderText("<foo>", "foo", "'bar'", ctx));
    assertEquals("bar", Script.replacePlaceholderText("@@foo@@", "@@foo@@", "'bar'", ctx));
    assertEquals("bar bar bar", Script.replacePlaceholderText("<foo> <foo> <foo>", "foo", "'bar'", ctx));
}