public Set<ReplicatedRecord> getRecords() {
        return new HashSet<>(storageRef.get().values());
    }
@Test
    public void testGetRecords() {
        assertTrue(recordStore.getRecords().isEmpty());

        recordStore.put("key1", "value1");
        recordStore.put("key2", "value2");

        assertEquals(2, recordStore.getRecords().size());
    }