@SuppressWarnings("resource")
@Test
public void testNewReadWriteTransaction() {

    DOMStoreTransaction dst = new TransactionChainProxy(mockComponentFactory, historyId).newReadWriteTransaction();
    Assert.assertTrue(dst instanceof DOMStoreReadWriteTransaction);
}