@Test
public void testDisableJob() throws Exception {

    JobStatusUpdate forwardedRequest = JobStatusUpdate.newBuilder()
            .setId(JOB_ID_1)
            .setEnableStatus(false)
            .build();
    when(jobServiceGatewayMock.updateJobStatus(forwardedRequest, JUNIT_REST_CALL_METADATA)).thenReturn(Completable.complete());
    SpringMockMvcUtil.doPost(mockMvc, String.format("/api/v3/jobs/%s/disable", JOB_ID_1));
    verify(jobServiceGatewayMock, times(1)).updateJobStatus(forwardedRequest, JUNIT_REST_CALL_METADATA);
}