    @Test
	public void fetchSchedulerJobForComputationalResource() {

        when(schedulerJobService.fetchSchedulerJobForComputationalResource(anyString(), anyString(), anyString(), anyString()))
                .thenReturn(getSchedulerJobDTO());
        final Response response = resources.getJerseyTest()
                .target("/infrastructure_provision/exploratory_environment/scheduler/projectName/explName/compName")
                .request()
                .header("Authorization", "Bearer " + TOKEN)
                .get();

        assertEquals(HttpStatus.SC_OK, response.getStatus());
        assertEquals(getSchedulerJobDTO(), response.readEntity(SchedulerJobDTO.class));
        assertEquals(MediaType.APPLICATION_JSON, response.getHeaderString(HttpHeaders.CONTENT_TYPE));

        verify(schedulerJobService).fetchSchedulerJobForComputationalResource(USER.toLowerCase(), "projectName",
                "explName", "compName");
        verifyNoMoreInteractions(schedulerJobService);
    }