@Test
public void testRefresh() throws Exception {

    property.set(toJson(FALLBACK_BUDGET_1));
    ArchaiusEffectiveJobDisruptionBudgetResolver resolver = new ArchaiusEffectiveJobDisruptionBudgetResolver(repository, sanitizer);
    assertThat(resolver.resolve(JOB_SELF_MANAGED)).isEqualTo(FALLBACK_BUDGET_1);
    property.set(toJson(FALLBACK_BUDGET_2));
    assertThat(resolver.resolve(JOB_SELF_MANAGED)).isEqualTo(FALLBACK_BUDGET_2);
}