use of org.opendaylight.mdsal.dom.spi.store.DOMStoreTransaction in project controller by opendaylight.
the class TransactionChainProxyTest method testNewReadWriteTransaction.
@SuppressWarnings("resource")
@Test
public void testNewReadWriteTransaction() {
DOMStoreTransaction dst = new TransactionChainProxy(mockComponentFactory, historyId).newReadWriteTransaction();
Assert.assertTrue(dst instanceof DOMStoreReadWriteTransaction);
}
use of org.opendaylight.mdsal.dom.spi.store.DOMStoreTransaction in project controller by opendaylight.
the class TransactionChainProxyTest method testNewReadOnlyTransaction.
@SuppressWarnings("resource")
@Test
public void testNewReadOnlyTransaction() {
DOMStoreTransaction dst = new TransactionChainProxy(mockComponentFactory, historyId).newReadOnlyTransaction();
Assert.assertTrue(dst instanceof DOMStoreReadTransaction);
}
use of org.opendaylight.mdsal.dom.spi.store.DOMStoreTransaction in project controller by opendaylight.
the class TransactionChainProxyTest method testNewWriteOnlyTransaction.
@SuppressWarnings("resource")
@Test
public void testNewWriteOnlyTransaction() {
DOMStoreTransaction dst = new TransactionChainProxy(mockComponentFactory, historyId).newWriteOnlyTransaction();
Assert.assertTrue(dst instanceof DOMStoreWriteTransaction);
}
Aggregations