@Test
public void testFindLastSchedulingResult() throws Exception {

    when(serviceMock.findLastSchedulingResult("taskAbc")).thenReturn(Mono.just(EVENT));
    SchedulingResultEvent entity = SpringMockMvcUtil.doGet(mockMvc, "/api/v3/scheduler/results/taskAbc", SchedulingResultEvent.class);
    assertThat(entity).isEqualTo(EVENT);
}