public void batchOn(Runnable runnable, ParSeqBasedFluentClient... fluentClients) throws Exception
  {
    List<ParSeqBasedFluentClient> batchedClients =
        fluentClients.length > 0 ? new ArrayList<>(Arrays.asList(fluentClients))
            : _fluentClientAll;

    for (ParSeqBasedFluentClient fluentClient : batchedClients)
    {
      fluentClient.setExecutionGroup(this);
    }
    try
    {
      runnable.run();
      this.execute();
    } finally
    {
      for (ParSeqBasedFluentClient fluentClient : batchedClients)
      {
        fluentClient.removeExecutionGroup();
      }
    }
  }
@Test
  public void testCallableExecution() throws Exception
  {
    MockBatchableResource client = new MockBatchableResource();
    eg.batchOn(() ->
    {
      Assert.assertTrue(client.validateExecutionGroupFromContext(eg));
    }, client);
  }