}
@Test
public void should_list_available_supported_actions() {
Issue issue = new DefaultIssue().setKey("ABCD");
IssueQueryResult issueQueryResult = new DefaultIssueQueryResult(newArrayList(issue));
<BUG>when(finder.find(any(IssueQuery.class))).thenReturn(issueQueryResult);
Action action1 = Action.builder("link-to-jira").conditions(new AlwaysMatch()).build();
actions.add(action1);
Action action2 = Action.builder("tweet").conditions(new NeverMatch()).build();
actions.add(action2);
assertThat(actionService.listAvailableActions("ABCD")).containsOnly(action1);
</BUG>
}

}
verifyZeroInteractions(function);
}
