@Test
public void testAsyncDisabled() throws Exception {

  final JobManager jobManager = new JobManager( false, 1000, 1000 );
  final Response config = jobManager.getConfig();
  assertNotNull( config );
  assertNotNull( config.getEntity() );
  assertTrue( config.getEntity() instanceof String );
  final ObjectMapper mapper = new ObjectMapper();
  final JsonNode jsonNode = mapper.readTree( (String) config.getEntity() );
  assertNotNull( jsonNode );
  assertFalse( jsonNode.get( "supportAsync" ).asBoolean() );
}