//the Trigger is creating parameters with encoded message in "commitMessage".
ParametersAction paremetersAction =
triggerWithReadableMessageOn.createParameters(event, project);
ParameterValue strPara =
new TextParameterValue(GERRIT_CHANGE_COMMIT_MESSAGE.name(), stringReadable);
verify(change, times(1)).getCommitMessage();
assertEquals(strPara, paremetersAction.getParameter(GERRIT_CHANGE_COMMIT_MESSAGE.name()));
}