when(meta.structure().isClusteredCounter()).thenReturn(true);
when(meta.getAllCounterMetas()).thenReturn(asList(counterMeta));
when(meta.getAllMetasExceptCounters()).thenReturn(asList(nameMeta));
Options.CASCondition casCondition = new Options.CASCondition("test", "test");
CASResultListener listener = mock(CASResultListener.class);
final Options options = OptionsBuilder
.withConsistency(LOCAL_ONE)
.withTimestamp(100L)
.withTtl(9)
.ifConditions(casCondition)