trigger = mock(GerritTrigger.class);
when(trigger.getGerritBuildFailedCodeReviewValue()).thenReturn(null);
when(trigger.getGerritBuildFailedVerifiedValue()).thenReturn(null);
when(project.getTrigger(GerritTrigger.class)).thenReturn(trigger);
memory.completed(event, build);
IGerritHudsonTriggerConfig config = mock(IGerritHudsonTriggerConfig.class);
String parameterString = "gerrit review MSG=FAILED VERIFIED=<VERIFIED> CODEREVIEW=<CODE_REVIEW>";
when(config.getGerritCmdBuildFailed()).thenReturn(parameterString);