Change changeWithQuotes = prepareChangeObjForMockTest("project", "branch", "I2343434344",
"100", stringWithQuotes, "commitMessage", jsonAccount, "http://localhost:8080");
Change changeWithoutQuotes = prepareChangeObjForMockTest("project", "branch", "I2343434344",
"100", stringWithoutQuotes, "commitMessage", jsonAccount, "http://localhost:8080");
PatchsetCreated eventWithQuotes = preparePatchsetCreatedObjForMockTest(changeWithQuotes,
new PatchSet(patch), GerritEventType.PATCHSET_CREATED);
PatchsetCreated eventWithoutQuotes = preparePatchsetCreatedObjForMockTest(changeWithoutQuotes,
new PatchSet(patch), GerritEventType.PATCHSET_CREATED);
//mock the returned url
PowerMockito.mockStatic(PluginImpl.class);
PluginImpl plugin = PowerMockito.mock(PluginImpl.class);
GerritServer server = mock(GerritServer.class);