@Test
public void testFormatTemplateWhenMultipleParametersShouldReplaceString() throws Exception {

    //GIVEN
    templateResource = "123 this is a test template 123".getBytes();
    parameterList.addParameter(new Parameter("[0-2]+", "HELLO"));
    parameterList.addParameter(new Parameter("is", "is not"));
    //WHEN
    byte[] actual = underTest.formatResponse(request, response, templateResource, parameterList);
    //THEN
    assertEquals(actual, "HELLO3 this not is not a test template HELLO3".getBytes());
}