@Test
public void testWriteFullNodeData() throws Exception {

    bridge.write("oldKey", marshaller.marshal("oldVal"));
    bridge.writeFullNodeData(new DistributedMetaStorageClusterNodeData(
        DistributedMetaStorageVersion.INITIAL_VERSION,
        new DistributedMetaStorageKeyValuePair[] {
            new DistributedMetaStorageKeyValuePair("newKey", marshaller.marshal("newVal"))
        },
        DistributedMetaStorageHistoryItem.EMPTY_ARRAY,
        null
    ));
    assertNull(bridge.read("oldKey"));
    assertEquals("newVal", bridge.read("newKey"));
}