@Test
public void testEntryWasChangedDuringRepairFromNullToValue() {

    Map<UUID, VersionedValue> data = new HashMap<>();
    data.put(OTHRER_NODE_ID, new VersionedValue(
        OLD_CACHE_VALUE,
        new GridCacheVersion(1, 1, 1),
        1,
        1
    ));
    RepairEntryProcessor repairProcessor = new RepairEntryProcessorStub(
        null,
        data,
        RMV_QUEUE_MAX_SIZE,
        false,
        new AffinityTopologyVersion(1)
    ).setKeyVersion(new GridCacheVersion(1, 1, 1));
    MutableEntry entry = mock(MutableEntry.class);
    when(entry.getValue()).thenReturn(new CacheObjectImpl(RECHECK_VALUE, RECHECK_VALUE.getBytes()));
    assertEquals(repairProcessor.process(entry), RepairEntryProcessor.RepairStatus.CONCURRENT_MODIFICATION);
}