@Test
public void testKillJob() throws Exception {

    when(jobServiceGatewayMock.killJob(JOB_ID_1, JUNIT_REST_CALL_METADATA)).thenReturn(Completable.complete());
    SpringMockMvcUtil.doDelete(mockMvc, String.format("/api/v3/jobs/%s", JOB_ID_1));
    verify(jobServiceGatewayMock, times(1)).killJob(JOB_ID_1, JUNIT_REST_CALL_METADATA);
}