GlobalConfigurationBuilder gcb = GlobalConfigurationBuilder.defaultClusteredBuilder();
Configuration configuration = cb.build();
ReplicationInterceptor replInterceptor = new ReplicationInterceptor();
CommandInterceptor nextInterceptor = mock(CommandInterceptor.class);
when(nextInterceptor.visitGetKeyValueCommand(any(InvocationContext.class), any(GetKeyValueCommand.class))).thenReturn(null);
replInterceptor.setNext(nextInterceptor);
CommandsFactory commandsFactory = mock(CommandsFactory.class);
when(commandsFactory.buildClusteredGetCommand(any(Object.class), any(Set.class), anyBoolean(), any(GlobalTransaction.class))).thenAnswer(new Answer<ClusteredGetCommand>() {
@Override