@Test
public void testDeleteJob_error() throws Exception {

	Mockito
		.doThrow( new IOException( "For test" ))
		.when( this.scheduler ).deleteJob( Mockito.anyString());
	Response resp = this.resource.deleteJob( "job" );
	Assert.assertEquals( Status.INTERNAL_SERVER_ERROR.getStatusCode(), resp.getStatus());
}