@Test(enabled=false)
    public void testGetFutureConfigWhenReady() throws Exception {
        MyPolicy policy = new MyPolicy(MutableMap.builder()
                .put(TestEntity.CONF_NAME, DependentConfiguration.whenDone(Callables.returning("aval")))
                .build());
        app.policies().add(policy);
        assertEquals(policy.getConfig(TestEntity.CONF_NAME), "aval");
    }
@Test(enabled=false)
    public void testGetFutureConfigWhenReady() throws Exception {
        MyPolicy policy = new MyPolicy(MutableMap.builder()
                .put(TestEntity.CONF_NAME, DependentConfiguration.whenDone(Callables.returning("aval")))
                .build());
        app.policies().add(policy);
        assertEquals(policy.getConfig(TestEntity.CONF_NAME), "aval");
    }
@test(enabled=false) public void testgetfutureconfigwhenready() throws exception { mypolicy policy = new mypolicy(mutablemap.builder() .put(testentity.conf_name, dependentconfiguration.whendone(callables.returning("aval"))) .build()); app.policies().add(policy); assertequals(policy.getconfig(testentity.conf_name), "aval"); }