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

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