@Test public void testBeginTransaction() throws Exception { DataStore store = new NoopDataStore(Arrays.asList(NoopBean.class)); DataStoreTransaction tx = store.beginReadTransaction(); assertTrue(tx instanceof NoopTransaction); }
@Override public DataStoreTransaction beginTransaction() { return new NoopTransaction(); }
NoopDataStore implements DataStore { @Override public DataStoreTransaction beginTransaction() { return new NoopTransaction(); } }
NoopDataStore implements DataStore { @Override public DataStoreTransaction beginTransaction() { return new NoopTransaction(); } NoopDataStore(Collection<Class> entityClasses); }
NoopDataStore implements DataStore { @Override public DataStoreTransaction beginTransaction() { return new NoopTransaction(); } NoopDataStore(Collection<Class> entityClasses); @Override void populateEntityDictionary(EntityDictionary dictionary); @Override DataStoreTransaction beginTransaction(); }
NoopDataStore implements DataStore { @Override public DataStoreTransaction beginTransaction() { return new NoopTransaction(); } NoopDataStore(Collection<Class> entityClasses); @Override void populateEntityDictionary(EntityDictionary dictionary); @Override DataStoreTransaction beginTransaction();  }