@Test
public void testSaveJob_ok() throws Exception {

	Mockito
		.when( this.scheduler.saveJob( Mockito.anyString(), Mockito.anyString(), Mockito.anyString(), Mockito.anyString(), Mockito.anyString()))
		.thenReturn( "some-id" );
	Response resp = this.resource.saveJob( null, "job", "app", "cmd", "cron" );
	Assert.assertEquals( Status.OK.getStatusCode(), resp.getStatus());
	Assert.assertTrue( resp.getEntity() instanceof StringWrapper );
	Assert.assertEquals( "some-id", ((StringWrapper) resp.getEntity()).toString());
}