Map<String, Object> expectedCurrentValues = ImmutableMap.<String, Object>of("[applied]", false, "consistency_level", EACH_QUORUM.name(), "name", "John");
managed.setName("Helen");
//When
manager.update(managed,
ifConditions(new CASCondition("name", "name"), new CASCondition("consistency_level", EACH_QUORUM))
.casResultListener(listener)
.withTtl(100));
final CASResult casResult = atomicCASResult.get();
assertThat(casResult).isNotNull();