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

    DOMStoreTransaction dst = new TransactionChainProxy(mockComponentFactory, historyId).newWriteOnlyTransaction();
    Assert.assertTrue(dst instanceof DOMStoreWriteTransaction);

}