@Test
public void testNewReadOnlyTransaction() {

    try (ClientBackedDataStore clientBackedDataStore = new ClientBackedDataStore(
            actorUtils, UNKNOWN_ID, clientActor)) {
        final DOMStoreReadTransaction tx = clientBackedDataStore.newReadOnlyTransaction();
        assertNotNull(tx);
        verify(clientActor, Mockito.times(1)).createSnapshot();
    }
}