@Test
public void testRateLimitingNotUsedInReadOnlyTxCreation() {

    try (DistributedDataStore distributedDataStore = new DistributedDataStore(actorUtils, UNKNOWN_ID)) {
        distributedDataStore.newReadOnlyTransaction();
        distributedDataStore.newReadOnlyTransaction();
        distributedDataStore.newReadOnlyTransaction();
        verify(actorUtils, times(0)).acquireTxCreationPermit();
    }
}