crud.createOrUpdate(objects); fail(); } catch(UnsupportedOperationException e) { crud.createOrUpdate(DbObject.newInstance()); fail(); } catch(UnsupportedOperationException e) { crud.createOrUpdate(objects, new CheckedConsumer<Long>() { @Override public void accept(Long aLong) throws Exception { crud.createOrUpdate(DbObject.newInstance(), new CheckedConsumer<Long>() { @Override public void accept(Long aLong) throws Exception {
connectedCrud.createOrUpdate(value); verify(crud).createOrUpdate(connection, value); verifyCloseCommitAndReset(crud, connection); connectedCrud.createOrUpdate(values); verify(crud).createOrUpdate(connection, values); verifyCloseCommitAndReset(crud, connection); connectedCrud.createOrUpdate(value, consumer); verify(crud).createOrUpdate(connection, value, consumer); verifyCloseCommitAndReset(crud, connection); connectedCrud.createOrUpdate(values, consumer); verify(crud).createOrUpdate(connection, values, consumer); verifyCloseCommitAndReset(crud, connection);
connectedCrud.createOrUpdate(value); fail(); } catch (RuntimeException e) { connectedCrud.createOrUpdate(values); fail(); } catch (RuntimeException e) { connectedCrud.createOrUpdate(value, consumer); fail(); } catch (RuntimeException e) { connectedCrud.createOrUpdate(values, consumer); fail(); } catch (RuntimeException e) {