NoopTransaction implements DataStoreTransaction { @Override public void close() throws IOException { }  @Override void save(Object entity, RequestScope scope); @Override void delete(Object entity, RequestScope scope); @Override void flush(RequestScope scope); @Override void commit(RequestScope scope); @Override void createObject(Object entity, RequestScope scope); @Override Object loadObject(Class<?> entityClass,
                             Serializable id,
                             Optional<FilterExpression> filterExpression,
                             RequestScope scope); @Override Iterable<Object> loadObjects(Class<?> entityClass,
                                        Optional<FilterExpression> filterExpression,
                                        Optional<Sorting> sorting,
                                        Optional<Pagination> pagination,
                                        RequestScope scope); @Override void close();  }
@Test public void testClose() throws Exception { tx.close(); }