actionService = new ActionService(dbClient, issueService, issueStorage, updater, settings, propertiesDao, actions);
}
@Test
public void execute_functions() {
Function function1 = mock(Function.class);
Function function2 = mock(Function.class);
when(componentDao.getByKey(eq(session), anyString())).thenReturn(mock(ComponentDto.class));
when(issueService.getByKeyForUpdate(session, "ABCD")).thenReturn(issue);
actions.add("link-to-jira").setConditions(new AlwaysMatch()).setFunctions(function1, function2);