@Test
void shouldUseLabelProviderLinkNameAsDisplayName() {

    Job<?, ?> job = mock(Job.class);
    StaticAnalysisLabelProvider labelProvider = mock(StaticAnalysisLabelProvider.class);
    when(labelProvider.getLinkName()).thenReturn(LINK_NAME);
    JobAction action = new JobAction(job, labelProvider, 1);
    assertThat(action.getDisplayName()).isEqualTo(LINK_NAME);
}