@Test
void shouldUseLabelProviderTrendNameAsTrendName() {

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