}
@Test
public void testFlaggedMethodDisabled() throws Exception {
JobConfiguration job = new JobConfiguration();
SessionKey session = new SessionKey();
control.replay();
Iface thrift = getIface(ImmutableMap.of("createJob", false));
assertEquals(ResponseCode.ERROR, thrift.createJob(job, null, session).getResponseCode());