@Test(expected = IllegalStateException.class)
public void testExistsPreConditionCheck() {

    TransactionProxy transactionProxy = new TransactionProxy(mockComponentFactory, WRITE_ONLY);
    transactionProxy.exists(TestModel.TEST_PATH);
}