@Test public void readTransactionTest() throws Exception { doReturn(mock(DOMDataTreeReadTransaction.class)).when(transactionChain).newReadOnlyTransaction(); assertNotNull(bindingDOMTransactionChainAdapter.newReadOnlyTransaction()); }
@Override public ReadTransaction newReadOnlyTransaction() { return new BindingDOMReadTransactionAdapter(adapterContext, createTransaction(delegate::newReadOnlyTransaction)); }
BindingDOMTransactionChainAdapter implements TransactionChain, Delegator<DOMTransactionChain> { @Override public ReadTransaction newReadOnlyTransaction() { return new BindingDOMReadTransactionAdapter(adapterContext, createTransaction(delegate::newReadOnlyTransaction)); } }
BindingDOMTransactionChainAdapter implements TransactionChain, Delegator<DOMTransactionChain> { @Override public ReadTransaction newReadOnlyTransaction() { return new BindingDOMReadTransactionAdapter(adapterContext, createTransaction(delegate::newReadOnlyTransaction)); } BindingDOMTransactionChainAdapter(final Function<DOMTransactionChainListener, DOMTransactionChain> chainFactory,
            final AdapterContext codec, final TransactionChainListener listener); }
BindingDOMTransactionChainAdapter implements TransactionChain, Delegator<DOMTransactionChain> { @Override public ReadTransaction newReadOnlyTransaction() { return new BindingDOMReadTransactionAdapter(adapterContext, createTransaction(delegate::newReadOnlyTransaction)); } BindingDOMTransactionChainAdapter(final Function<DOMTransactionChainListener, DOMTransactionChain> chainFactory,
            final AdapterContext codec, final TransactionChainListener listener); @Override DOMTransactionChain getDelegate(); @Override ReadTransaction newReadOnlyTransaction(); @Override WriteTransaction newWriteOnlyTransaction(); @Override ReadWriteTransaction newReadWriteTransaction(); @Override void close(); }
BindingDOMTransactionChainAdapter implements TransactionChain, Delegator<DOMTransactionChain> { @Override public ReadTransaction newReadOnlyTransaction() { return new BindingDOMReadTransactionAdapter(adapterContext, createTransaction(delegate::newReadOnlyTransaction)); } BindingDOMTransactionChainAdapter(final Function<DOMTransactionChainListener, DOMTransactionChain> chainFactory,
            final AdapterContext codec, final TransactionChainListener listener); @Override DOMTransactionChain getDelegate(); @Override ReadTransaction newReadOnlyTransaction(); @Override WriteTransaction newWriteOnlyTransaction(); @Override ReadWriteTransaction newReadWriteTransaction(); @Override void close();  }