### Question:
DistributedDataStore extends AbstractDataStore { @Override public DOMStoreReadTransaction newReadOnlyTransaction() { return new TransactionProxy(txContextFactory, TransactionType.READ_ONLY); } DistributedDataStore(final ActorSystem actorSystem, final ClusterWrapper cluster,
            final Configuration configuration, final DatastoreContextFactory datastoreContextFactory,
            final DatastoreSnapshot restoreFromSnapshot); @VisibleForTesting  DistributedDataStore(final ActorUtils actorUtils, final ClientIdentifier identifier); @Override DOMStoreTransactionChain createTransactionChain(); @Override DOMStoreReadTransaction newReadOnlyTransaction(); @Override DOMStoreWriteTransaction newWriteOnlyTransaction(); @Override DOMStoreReadWriteTransaction newReadWriteTransaction(); @Override void close();  }### Answer:
@Test public void testRateLimitingNotUsedInReadOnlyTxCreation() { try (DistributedDataStore distributedDataStore = new DistributedDataStore(actorUtils, UNKNOWN_ID)) { distributedDataStore.newReadOnlyTransaction(); distributedDataStore.newReadOnlyTransaction(); distributedDataStore.newReadOnlyTransaction(); verify(actorUtils, times(0)).acquireTxCreationPermit(); } }